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:
parent
ed15516087
commit
c2949edda0
1 changed files with 0 additions and 1 deletions
|
|
@ -346,7 +346,6 @@ public:
|
|||
|
||||
void swapBuffers()
|
||||
{
|
||||
XWindowSystemUtilities::ScopedXLock xLock;
|
||||
glXSwapBuffers (display, glxWindow.get());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue