From 3c63452e64df7e10aa073c6c3b9492b1d7dabbb8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 24 Oct 2002 23:57:19 +0000 Subject: 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. --- src/mesa/drivers/allegro/amesa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mesa/drivers/allegro') diff --git a/src/mesa/drivers/allegro/amesa.c b/src/mesa/drivers/allegro/amesa.c index 0728c34273..1462161781 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); -- cgit v1.2.3