mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-23 02:10:40 +00:00
Fix shutdown order for GL test context & window
This commit is contained in:
@@ -66,8 +66,8 @@ void OpenGLGraphicsTest::Shutdown()
|
||||
for(GLuint p : managedResources.progs)
|
||||
glDeleteProgram(p);
|
||||
|
||||
delete mainWindow;
|
||||
DestroyContext(mainContext);
|
||||
delete mainWindow;
|
||||
}
|
||||
|
||||
GLuint OpenGLGraphicsTest::MakeProgram(std::string vertSrc, std::string fragSrc, std::string geomSrc)
|
||||
|
||||
Reference in New Issue
Block a user