OpenGL: Avoid data races around _cursor
This commit is contained in:
@@ -1461,7 +1461,7 @@ void VideoDriver_Win32OpenGL::Paint()
|
||||
}
|
||||
|
||||
OpenGLBackend::Get()->Paint();
|
||||
if (_cursor.in_window) OpenGLBackend::Get()->DrawMouseCursor();
|
||||
OpenGLBackend::Get()->DrawMouseCursor();
|
||||
|
||||
SwapBuffers(this->dc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user