diff options
author | Brian Paul <[email protected]> | 2000-02-01 23:57:03 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-02-01 23:57:03 +0000 |
commit | 6b8cced81a75bfe9f4141e0cbd3b8193ab74c310 (patch) | |
tree | ed099d41e2a60f422010b593fcb554aad97abfcb /src | |
parent | f224b12a5b3dbde3c53d3cf986ffd63da1ca5e2b (diff) |
patch for XFree86 building
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/dispatch.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mesa/main/dispatch.c b/src/mesa/main/dispatch.c index 81f43485c3e..09a682593cd 100644 --- a/src/mesa/main/dispatch.c +++ b/src/mesa/main/dispatch.c @@ -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 @@ -80,6 +80,14 @@ * 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*/ + /**********************************************************************/ |