- temporary fix crash on Windows;
This commit is contained in:
mtabachenko 2012-12-21 19:08:23 +00:00
parent 233d079b45
commit 5a0c9632bb
1 changed files with 3 additions and 12 deletions

View File

@ -753,18 +753,9 @@ static char OGLInit(void)
if (CommonSettings.num_cores > 1) if (CommonSettings.num_cores > 1)
{ {
#ifdef _WINDOWS #ifdef _WINDOWS
if (!isPBOSupported) // Multithreading don't work on Windows, more study will be necessary
{ enableMultithreading = false;
// Don't know why this doesn't work on Windows when the GPU #else
// lacks PBO support. Someone please research.
enableMultithreading = false;
}
else
{
enableMultithreading = true;
oglReadPixelsTask.start(false);
}
#else
enableMultithreading = true; enableMultithreading = true;
oglReadPixelsTask.start(false); oglReadPixelsTask.start(false);
#endif #endif