fixed a problem that is preventing opengl es capture

This commit is contained in:
Jimmy Lee authored and Baldur Karlsson committed 2018-04-06 22:50:30 +01:00
1 parent 3129a44495
commit 6c35697edc
1 file changed
+8
+8
View File
@@ -837,6 +837,14 @@ void WrappedOpenGL::DeleteContext(void *contextHandle)
}
}
for(auto it = ctxdata.windows.begin(); it != ctxdata.windows.end();)
{
void *wndHandle = it->first;
it++;
ctxdata.UnassociateWindow(wndHandle);
}
m_ContextData.erase(contextHandle);
}