mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 09:26:52 +00:00
OpenGL: m_CreatingContext is left as true, causing subsequent CreateContextAttribs to fail if one fails.
This commit is contained in:
@@ -520,7 +520,10 @@ class OpenGLHook : LibraryHook
|
||||
|
||||
// don't continue if creation failed
|
||||
if(ret == NULL)
|
||||
{
|
||||
glhooks.m_CreatingContext = false;
|
||||
return ret;
|
||||
}
|
||||
|
||||
GLWindowingData data;
|
||||
data.DC = dc;
|
||||
|
||||
Reference in New Issue
Block a user