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:
parent
3ced7f5c8b
commit
4efa980cba
|
@ -779,17 +779,10 @@ static char OGLInit(void)
|
||||||
if (CommonSettings.num_cores > 1)
|
if (CommonSettings.num_cores > 1)
|
||||||
{
|
{
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
if (!isPBOSupported)
|
// Windows doesn't seem like multithreading on the same OpenGL
|
||||||
{
|
// context, so we're disabling this on Windows for now.
|
||||||
// Don't know why this doesn't work on Windows when the GPU
|
// Someone please research.
|
||||||
// lacks PBO support. Someone please research.
|
|
||||||
enableMultithreading = false;
|
enableMultithreading = false;
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
enableMultithreading = true;
|
|
||||||
oglReadPixelsTask.start(false);
|
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
enableMultithreading = true;
|
enableMultithreading = true;
|
||||||
oglReadPixelsTask.start(false);
|
oglReadPixelsTask.start(false);
|
||||||
|
|
Loading…
Reference in New Issue