mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
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:
parent
f06fc78814
commit
2697b8c04f
2 changed files with 18 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue