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)
|
||||
{
|
||||
#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);
|
||||
|
|
Loading…
Reference in New Issue