Clean up all the FBOs in DestroyAllFBOs. Missing any can have bad consequences after app switching on Android/Vulkan where we recreate stuff.

This commit is contained in:
Henrik Rydgård committed 2017-12-01 12:17:10 +01:00
1 parent 44b6300760
commit f8b70fe185
4 files changed
+14

No files matched your search

+2
View File
@@ -1033,6 +1033,8 @@ void FramebufferManagerGLES::DestroyAllFBOs() {
}
tempFBOs_.clear();
SetNumExtraFBOs(0);
DisableState();
CHECK_GL_ERROR_IF_DEBUG();
}