fix chaos of Layer and extension
This commit is contained in:
@@ -52,8 +52,8 @@ private:
|
||||
|
||||
struct
|
||||
{
|
||||
RenderTarget *rt;
|
||||
RenderCommand *cmd;
|
||||
RenderTarget *rt=nullptr;
|
||||
RenderCommand *cmd=nullptr;
|
||||
|
||||
public:
|
||||
|
||||
@@ -100,8 +100,8 @@ public:
|
||||
|
||||
~TestApp()
|
||||
{
|
||||
delete gbuffer.cmd;
|
||||
delete gbuffer.rt;
|
||||
SAFE_CLEAR(gbuffer.cmd);
|
||||
SAFE_CLEAR(gbuffer.rt);
|
||||
}
|
||||
|
||||
private:
|
||||
|
@@ -88,7 +88,7 @@ public:
|
||||
|
||||
InitNativeWindowSystem();
|
||||
|
||||
InitVulkanProperties();
|
||||
InitVulkanInstanceProperties();
|
||||
|
||||
win=CreateRenderWindow(OS_TEXT("VulkanTest"));
|
||||
if(!win)
|
||||
|
Reference in New Issue
Block a user