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