patch for XFree86 building
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 1 Feb 2000 23:57:03 +0000 (23:57 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 1 Feb 2000 23:57:03 +0000 (23:57 +0000)
src/mesa/main/dispatch.c

index 81f43485c3e8d7a31f2caa4f6c913fb19c356733..09a682593cd528ec4bf46c3d42a30de59ebbf22b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: dispatch.c,v 1.12 2000/01/31 22:54:41 brianp Exp $ */
+/* $Id: dispatch.c,v 1.13 2000/02/01 23:57:03 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
  * Generate the GL entrypoint functions here.
  */
 
+#if defined(GLX_DIRECT_RENDERING) && !defined(XFree86Server)
+
+/* We're building a DRI driver.
+ * GL entrypoints will be in libGL.so, not in this rendering core.
+ */
+
+#else
+
 #define KEYWORD1
 #define KEYWORD2 GLAPIENTRY
 #if defined(USE_X86_ASM) && !defined(__WIN32__) && !defined(XF86DRI)
@@ -143,6 +151,8 @@ trace(void)
 #include "glapitemp.h"
 
 
+#endif /*GLX_DIRECT_RENDERING*/
+
 
 /**********************************************************************/