summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-07-20 11:23:13 -0700
committerJordan Justen <jordan.l.justen@intel.com>2012-07-31 11:40:21 -0700
commite80b370688c3f96f81513f07e2c1fbc5c0ca9bb4 (patch)
tree181be92e9b9b31c1e33337fe666de9d3f0abfeda
parentd41fef2d35deb6e91634fbc5955873bd6bec94a6 (diff)
DEBUG/glx: Use client extension string, not server3.0-forward
If this patch breaks no test, then it needs to be commited to master.
-rw-r--r--src/waffle/glx/glx_display.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/waffle/glx/glx_display.c b/src/waffle/glx/glx_display.c
index e1a9053..48836ca 100644
--- a/src/waffle/glx/glx_display.c
+++ b/src/waffle/glx/glx_display.c
@@ -55,11 +55,10 @@ static bool
glx_display_set_extensions(struct glx_display *self)
{
- const char *s = glXQueryExtensionsString(self->x11.xlib,
- self->x11.screen);
+ const char *s = glXGetClientString(self->x11.xlib, GLX_EXTENSIONS);
if (!s) {
wcore_errorf(WAFFLE_ERROR_UNKNOWN,
- "glXQueryExtensionsString failed");
+ "glXGetClientString(GLX_EXTENSIONS) failed");
return false;
}