移动InitDefaultShaderBuildResource调用位置
This commit is contained in:
parent
14f4846695
commit
152180ca7f
2
CMCore
2
CMCore
@ -1 +1 @@
|
||||
Subproject commit 64dfbbcf7b748ad6b2c29ba1a4e0841f56201436
|
||||
Subproject commit 7fe04114524aa4e6e2e1a8bba08e2605237a461c
|
@ -17,6 +17,7 @@
|
||||
#include<hgl/graph/vulkan/VKFramebuffer.h>
|
||||
#include<hgl/graph/vulkan/VKMaterial.h>
|
||||
#include<hgl/graph/vulkan/VKRenderTarget.h>
|
||||
#include<hgl/graph/shader/glsl2spv.h>
|
||||
#include<hgl/graph/SceneDB.h>
|
||||
#include<hgl/graph/RenderList.h>
|
||||
|
||||
@ -91,6 +92,8 @@ public:
|
||||
return(false);
|
||||
#endif//
|
||||
|
||||
InitDefaultShaderBuildResource();
|
||||
|
||||
InitNativeWindowSystem();
|
||||
|
||||
win=CreateRenderWindow(OS_TEXT("VulkanTest"));
|
||||
|
@ -4,7 +4,6 @@
|
||||
#include"VulkanAppFramework.h"
|
||||
#include<hgl/math/Math.h>
|
||||
#include<hgl/filesystem/FileSystem.h>
|
||||
#include<hgl/graph/shader/glsl2spv.h>
|
||||
|
||||
using namespace hgl;
|
||||
using namespace hgl::graph;
|
||||
@ -160,8 +159,6 @@ public:
|
||||
|
||||
int main(int,char **)
|
||||
{
|
||||
hgl::graph::InitDefaultShaderBuildResource();
|
||||
|
||||
TestApp app;
|
||||
|
||||
if(!app.Init())
|
||||
|
Loading…
x
Reference in New Issue
Block a user