fix memory leak
This commit is contained in:
parent
cb4669d37c
commit
71407aecad
@ -86,6 +86,13 @@ private:
|
|||||||
Texture2DPointer normal=nullptr;
|
Texture2DPointer normal=nullptr;
|
||||||
}texture;
|
}texture;
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
~TestApp()
|
||||||
|
{
|
||||||
|
delete gbuffer_rt;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
bool InitGBuffer()
|
bool InitGBuffer()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user