Index: client/deps/glbench/src/teartest.cc |
diff --git a/client/deps/glbench/src/teartest.cc b/client/deps/glbench/src/teartest.cc |
index 0b967028e95b72d66f07249a3e100fb6e23bf258..1dbe30df70140979fa7ef2a8e47071e9c952c689 100644 |
--- a/client/deps/glbench/src/teartest.cc |
+++ b/client/deps/glbench/src/teartest.cc |
@@ -112,7 +112,7 @@ int main(int argc, char* argv[]) { |
SwapInterval(g_sleep_duration ? 0 : 1); |
for (;;) { |
XEvent event; |
- Bool got_event = XCheckWindowEvent(xlib_display, xlib_window, |
+ Bool got_event = XCheckWindowEvent(g_xlib_display, g_xlib_window, |
KeyPressMask, &event); |
if (got_event) |
break; |