Fix: Data races on cursor state in OpenGL backends

This commit is contained in:
Jonathan G Rennison
2021-04-05 23:22:55 +01:00
committed by Charles Pigott
parent eeb6e9d417
commit 0f962aaf03
5 changed files with 25 additions and 8 deletions
+1 -1
View File
@@ -174,7 +174,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);
}