free resources on app destruction

This commit is contained in:
2019-02-24 12:31:53 +01:00
parent 420e0a8c2a
commit 3d1412aee2
13 changed files with 66 additions and 6 deletions

View File

@@ -14,7 +14,9 @@ RTT::RTT()
RTT::~RTT()
{
destroy();
//destroy();
if (texID || rboID || fboID)
LOG("RTT not destroyed");
}
void RTT::resize(int width, int height)