diff options
author | Brian Paul <[email protected]> | 2002-10-24 23:57:19 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-10-24 23:57:19 +0000 |
commit | 3c63452e64df7e10aa073c6c3b9492b1d7dabbb8 (patch) | |
tree | 87cc7c71b05da7a19f914368ded66e7bb8c00e8e /src/mesa/drivers/glide/fxapi.c | |
parent | d0add7cf1a6b99cafd25e23fe2fc9d0b6657079a (diff) |
Header file clean-up:
1. Remove all.h and PC_HEADER junk.
2. Rolled mem.c and mem.h into imports.c and imports.h
3. Include imports.h instead of mem.h
Restore _mesa_create/initialize_context() to be like they were in 4.0.4
New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
Diffstat (limited to 'src/mesa/drivers/glide/fxapi.c')
-rw-r--r-- | src/mesa/drivers/glide/fxapi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c index eb87837c9b6..a1fdf1dc871 100644 --- a/src/mesa/drivers/glide/fxapi.c +++ b/src/mesa/drivers/glide/fxapi.c @@ -1,4 +1,4 @@ -/* $Id: fxapi.c,v 1.34 2002/10/14 17:08:25 brianp Exp $ */ +/* $Id: fxapi.c,v 1.35 2002/10/24 23:57:23 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -283,7 +283,6 @@ fxMesaCreateContext(GLuint win, char *errorstr; GLboolean useBGR; char *system = NULL; - __GLimports imports; if (MESA_VERBOSE & VERBOSE_DRIVER) { fprintf(stderr, "fxmesa: fxMesaCreateContext() Start\n"); @@ -509,10 +508,9 @@ fxMesaCreateContext(GLuint win, goto errorhandler; } - _mesa_init_default_imports( &imports, (void *) fxMesa); ctx = fxMesa->glCtx = _mesa_create_context(fxMesa->glVis, shareCtx, - &imports); + (void *) fxMesa, GL_TRUE); if (!ctx) { errorstr = "_mesa_create_context"; goto errorhandler; |