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/allegro/amesa.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/allegro/amesa.c')
-rw-r--r-- | src/mesa/drivers/allegro/amesa.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/allegro/amesa.c b/src/mesa/drivers/allegro/amesa.c index 0728c342733..14621617813 100644 --- a/src/mesa/drivers/allegro/amesa.c +++ b/src/mesa/drivers/allegro/amesa.c @@ -329,7 +329,6 @@ AMesaContext AMesaCreateContext(AMesaVisual visual, {
AMesaContext context;
GLboolean direct = GL_FALSE;
- __GLimports imports; context = (AMesaContext)calloc(1, sizeof(struct amesa_context));
if (!context)
@@ -339,10 +338,9 @@ AMesaContext AMesaCreateContext(AMesaVisual visual, context->Buffer = NULL;
context->ClearColor = 0;
context->CurrentColor = 0;
- _mesa_init_default_imports( &imports, (void *) context); context->GLContext = _mesa_create_context(visual->GLVisual,
share ? share->GLContext : NULL,
- &imports );
+ (void *) context, GL_FALSE );
if (!context->GLContext)
{
free(context);
|