diff options
author | Campbell Barton <campbell@blender.org> | 2022-10-13 02:27:22 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-10-13 02:27:22 +0300 |
commit | 99f88281df5035057cef72ba5325646752550372 (patch) | |
tree | cf0e2ba2becdba37a25418750d3322c197c6bb72 /intern | |
parent | 3980af7453bfcf55dbf29a39475af17a6fcf897b (diff) |
Fix T101776: wrong logic for GLX setSwapInterval
Regression in 93e4b15767cf958d5a07ba6acce25438f244bf22.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextGLX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp b/intern/ghost/intern/GHOST_ContextGLX.cpp index 4c1e2705b50..93708983f37 100644 --- a/intern/ghost/intern/GHOST_ContextGLX.cpp +++ b/intern/ghost/intern/GHOST_ContextGLX.cpp @@ -306,7 +306,7 @@ GHOST_TSuccess GHOST_ContextGLX::releaseNativeHandles() GHOST_TSuccess GHOST_ContextGLX::setSwapInterval(int interval) { - if (!epoxy_has_glx_extension(m_display, DefaultScreen(m_display), "GLX_EXT_swap_control")) { + if (epoxy_has_glx_extension(m_display, DefaultScreen(m_display), "GLX_EXT_swap_control")) { ::glXSwapIntervalEXT(m_display, m_window, interval); return GHOST_kSuccess; } |