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.
This commit is contained in:
rogerman 2012-12-22 21:38:10 +00:00
parent 3ced7f5c8b
commit 4efa980cba
1 changed files with 4 additions and 11 deletions

View File

@ -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.
// 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);
}
#else
enableMultithreading = true;
oglReadPixelsTask.start(false);