From c2949edda0876d201ef14d18ce8b260b792a89de Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 30 May 2023 19:11:22 +0100 Subject: [PATCH] OpenGL: Avoid taking X lock when swapping buffers to reduce lock contention --- modules/juce_opengl/native/juce_OpenGL_linux.h | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/juce_opengl/native/juce_OpenGL_linux.h b/modules/juce_opengl/native/juce_OpenGL_linux.h index ff3214e956..52e2568af9 100644 --- a/modules/juce_opengl/native/juce_OpenGL_linux.h +++ b/modules/juce_opengl/native/juce_OpenGL_linux.h @@ -346,7 +346,6 @@ public: void swapBuffers() { - XWindowSystemUtilities::ScopedXLock xLock; glXSwapBuffers (display, glxWindow.get()); }