OpenGL: m_CreatingContext is left as true, causing subsequent CreateContextAttribs to fail if one fails.

This commit is contained in:
Neil Richardson
2016-04-26 20:10:32 +10:00
parent 766ab41663
commit 2d4b8ebd6d
+3
View File
@@ -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;