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 Michael Lutz
parent fbd0a2e65a
commit 39b7ef31f8
5 changed files with 25 additions and 8 deletions

View File

@@ -134,7 +134,7 @@ static bool _allowSoftware;
CGLSetCurrentContext(ctx);
OpenGLBackend::Get()->Paint();
if (_cursor.in_window) OpenGLBackend::Get()->DrawMouseCursor();
OpenGLBackend::Get()->DrawMouseCursor();
[ super drawInCGLContext:ctx pixelFormat:pf forLayerTime:t displayTime:ts ];
}