diff options
author | Ian Romanick <idr@us.ibm.com> | 2005-04-07 23:58:51 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2005-04-07 23:58:51 +0000 |
commit | a657c1aee85b7a2466d8608d8f3d44ebd015e476 (patch) | |
tree | 82085f6dfbdff7933bf4b1eb8633654ca33d7e46 /src/mesa/main | |
parent | d9c389dff6836ea0e3b79f3682378f6998875399 (diff) |
Use the same dispatch.c source file for "normal" Mesa builds and DRI
libGL builds.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/dispatch.c | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/mesa/main/dispatch.c b/src/mesa/main/dispatch.c index 946f39d1f9..6040c38ecf 100644 --- a/src/mesa/main/dispatch.c +++ b/src/mesa/main/dispatch.c @@ -23,16 +23,21 @@ */ -/* - * This file generates all the gl* function entrypoints. - * But if we're using X86-optimized dispatch (X86/glapi_x86.S) then - * we don't use this code. +/** + * \file dispatch.c + * + * This file generates all the gl* function entrypoints. This code is not + * used if optimized assembly stubs are available (e.g., using x86/glapi_x86.S + * on IA32 or sparc/glapi_sparc.S on SPARC). * - * NOTE: This file should _not_ be used when compiling Mesa for a DRI- - * based device driver. + * \note + * This file is also used to build the client-side libGL that loads DRI-based + * device drivers. At build-time it is symlinked to src/glx/x11. * + * \author Brian Paul <brian@precisioninsight.com> */ +#ifndef GLX_USE_APPLEGL #include "glheader.h" #include "glapi.h" @@ -84,5 +89,6 @@ #include "glapitemp.h" - #endif /* USE_X86_ASM */ + +#endif /* !GLX_USE_APPLEGL */ |