Index: client/deps/glbench/src/glx_stuff.cc |
diff --git a/client/deps/glbench/src/glx_stuff.cc b/client/deps/glbench/src/glx_stuff.cc |
index f30f6babd583f7e6cfbcbb77dc4977d47e48d097..57b481dd17814bd00ee044b3bad2d89d8fe23b07 100644 |
--- a/client/deps/glbench/src/glx_stuff.cc |
+++ b/client/deps/glbench/src/glx_stuff.cc |
@@ -69,3 +69,7 @@ void DestroyContext() { |
void SwapBuffers() { |
glXSwapBuffers(xlib_display, xlib_window); |
} |
+ |
+bool SwapInterval(int interval) { |
+ return glXSwapIntervalSGI(interval) == 0; |
+} |