parent
233d079b45
commit
5a0c9632bb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue