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