SDL: Oops, only start the emu thread for GLES.

Probably would've caused issues (at least weird vsync) for Vulkan.
This commit is contained in:
Unknown W. Brackets 2018-01-21 11:02:22 -08:00 committed by Henrik Rydgård
parent 062566b67c
commit 56a18907dd

View file

@ -996,7 +996,9 @@ int main(int argc, char *argv[]) {
int framecount = 0;
bool mouseDown = false;
EmuThreadStart();
if (GetGPUBackend() == GPUBackend::OPENGL) {
EmuThreadStart();
}
graphicsContext->ThreadStart();
while (true) {