Create our OGL context on the same thread in the OpenGL backend. Same issue with Qualcomm not working with threading correctly.

This commit is contained in:
Ryan Houdek
2013-05-26 22:30:38 -05:00
parent f06fc78814
commit 2697b8c04f
2 changed files with 18 additions and 13 deletions

View File

@ -24,7 +24,10 @@ namespace OGL
// Draw messages on top of the screen
unsigned int VideoBackend::PeekMessages()
{
return GLInterface->PeekMessages();
if (GLInterface)
return GLInterface->PeekMessages();
else
return 0;
}
// Show the current FPS