[Mesa-dev] [PATCH] glx: allow 0 for glXSwapIntervalSGI
Grazvydas Ignotas
notasas at gmail.com
Wed Mar 8 01:09:03 UTC 2017
Makes vsync option work in The Talos Principle.
Signed-off-by: Grazvydas Ignotas <notasas at 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
More information about the mesa-dev
mailing list