glx: More hacking around versions of XCB that lack GLX_ARB_create_context support
[mesa.git] / src / glx / create_context.c
index 11f9340a2e8b3da2837a9cd4b2df3144fa85a793..714f0e59271b330c1bc934df4c7e649660e14f49 100644 (file)
@@ -94,7 +94,7 @@ glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config,
     * the protocol error and handle it.  Part of handling the error is freeing
     * the possibly non-NULL value returned by this function.
     */
-#ifdef XCB_GLX_CREATE_CONTEXT_ATTRIBS_ARB
+#ifdef HAVE_XCB_GLX_CREATE_CONTEXT
    cookie =
       xcb_glx_create_context_attribs_arb_checked(c,
                                                 gc->xid,