From 4efa980cbabdc5185c46098bdd192c2a9fe64428 Mon Sep 17 00:00:00 2001 From: rogerman Date: Sat, 22 Dec 2012 21:38:10 +0000 Subject: [PATCH] OpenGL Renderer: - Windows doesn't seem like multithreading on the same OpenGL context, so revert to r4435 where we disable this on Windows. Should fix related crashing bugs on certain drivers. Someone please research. --- desmume/src/OGLRender.cpp | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/desmume/src/OGLRender.cpp b/desmume/src/OGLRender.cpp index 522dfa057..2b6257d74 100644 --- a/desmume/src/OGLRender.cpp +++ b/desmume/src/OGLRender.cpp @@ -779,17 +779,10 @@ static char OGLInit(void) if (CommonSettings.num_cores > 1) { #ifdef _WINDOWS - if (!isPBOSupported) - { - // Don't know why this doesn't work on Windows when the GPU - // lacks PBO support. Someone please research. - enableMultithreading = false; - } - else - { - enableMultithreading = true; - oglReadPixelsTask.start(false); - } + // Windows doesn't seem like multithreading on the same OpenGL + // context, so we're disabling this on Windows for now. + // Someone please research. + enableMultithreading = false; #else enableMultithreading = true; oglReadPixelsTask.start(false);