1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +00:00

OpenGL: Avoid taking X lock when swapping buffers to reduce lock contention

This commit is contained in:
reuk 2023-05-30 19:11:22 +01:00
parent ed15516087
commit c2949edda0
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -346,7 +346,6 @@ public:
void swapBuffers()
{
XWindowSystemUtilities::ScopedXLock xLock;
glXSwapBuffers (display, glxWindow.get());
}