Put quotes around the CC and CXX variables passed to mklib. This make
[mesa.git] / src / glx / x11 / glxext.c
index 1155cd92acfed16fcb84210ba6f2c1bf3c1b210b..397b39018935fffe60d9ef6fa09049cd021c8d79 100644 (file)
@@ -1523,13 +1523,14 @@ static Bool BindContextWrapper( Display *dpy, GLXContext gc,
        return (*gc->driContext.bindContext3)(dpy, gc->screen, draw, read, 
                                              & gc->driContext);
     }
+#ifndef DRI_NEW_INTERFACE_ONLY
     else {
        return (*gc->driContext.bindContext2)(dpy, gc->screen, draw, read,
                                              gc);
     }
-#else
-    return GL_FALSE;
 #endif
+#endif
+    return GL_FALSE;
 }
 
 
@@ -1542,14 +1543,15 @@ static Bool UnbindContextWrapper( Display *dpy, GLXContext gc )
                                                gc->currentReadable,
                                                & gc->driContext );
     }
+#ifndef DRI_NEW_INTERFACE_ONLY
     else {
        return (*gc->driContext.unbindContext2)(dpy, gc->screen,
                                                gc->currentDrawable,
                                                gc->currentReadable, gc);
     }
-#else
-    return GL_FALSE;
 #endif
+#endif
+    return GL_FALSE;
 }