Commit: 9f8ece70ee05fc876175a16f7068be7b53e38144
Author: Campbell Barton
Date: Wed Oct 26 11:14:14 2022 +0200
Branches: blender-v3.3-release
https://developer.blender.org/rB9f8ece70ee05fc876175a16f7068be7b53e38144
Fix T101776: wrong logic for GLX setSwapInterval
Regression in 93e4b15767cf958d5a07ba6acce25438f244bf22.
===================================================================
M intern/ghost/intern/GHOST_ContextGLX.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp
b/intern/ghost/intern/GHOST_ContextGLX.cpp
index b4a076e4598..8ae88fa493a 100644
--- a/intern/ghost/intern/GHOST_ContextGLX.cpp
+++ b/intern/ghost/intern/GHOST_ContextGLX.cpp
@@ -318,7 +318,7 @@ GHOST_TSuccess GHOST_ContextGLX::releaseNativeHandles()
GHOST_TSuccess GHOST_ContextGLX::setSwapInterval(int interval)
{
- if (!GLXEW_EXT_swap_control) {
+ if (GLXEW_EXT_swap_control) {
::glXSwapIntervalEXT(m_display, m_window, interval);
return GHOST_kSuccess;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs