Makes vsync option work in The Talos Principle.

Signed-off-by: Grazvydas Ignotas <nota...@gmail.com>
---
no commit access
perhaps this is stable worthy?

 src/glx/glxcmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index 53c9f9c..7be4e73 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -1750,7 +1750,7 @@ __glXSwapIntervalSGI(int interval)
       return GLX_BAD_CONTEXT;
    }
 
-   if (interval <= 0) {
+   if (interval < 0) {
       return GLX_BAD_VALUE;
    }
 
-- 
2.7.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to