explicitly deleted some gl objects to try addressing memory leaks

This commit is contained in:
itsmattkc
2019-09-08 12:21:02 +10:00
parent e174618f34
commit df1f2c0d8b
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -98,6 +98,7 @@ void RenderInstance::Stop()
buffer_.Destroy();
// Destroy context
delete ctx_;
// Destroy offscreen surface