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;
}
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;
}