fix chaos of Layer and extension

This commit is contained in:
2020-10-28 17:28:07 +08:00
parent 2e05e06b3f
commit 12b66c3e64
11 changed files with 111 additions and 92 deletions

View File

@@ -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: