Browse Source

patch for XFree86 building

tags/mesa_3_3
Brian Paul 27 years ago
parent
commit
6b8cced81a
1 changed files with 11 additions and 1 deletions
  1. 11
    1
      src/mesa/main/dispatch.c

+ 11
- 1
src/mesa/main/dispatch.c View 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
@@ -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*/


/**********************************************************************/


Loading…
Cancel
Save