removed GL_ prefix from memory macros
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index f6ef423..1346e3d 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -1,4 +1,4 @@
-/* $Id: teximage.c,v 1.3 1999/10/10 12:56:45 brianp Exp $ */
+/* $Id: teximage.c,v 1.4 1999/10/13 18:42:50 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -236,7 +236,7 @@
 
 struct gl_texture_image *gl_alloc_texture_image( void )
 {
-   return GL_CALLOC_STRUCT(gl_texture_image);
+   return CALLOC_STRUCT(gl_texture_image);
 }
 
 
@@ -244,9 +244,9 @@
 void gl_free_texture_image( struct gl_texture_image *teximage )
 {
    if (teximage->Data) {
-      GL_FREE( teximage->Data );
+      FREE( teximage->Data );
    }
-   GL_FREE( teximage );
+   FREE( teximage );
 }
 
 
@@ -389,7 +389,7 @@
    texImage->Height2 = 1 << texImage->HeightLog2;
    texImage->Depth2 = 1 << texImage->DepthLog2;
    texImage->MaxLog2 = MAX2( texImage->WidthLog2, texImage->HeightLog2 );
-   texImage->Data = (GLubyte *) GL_ALLOC( numPixels * components + EXTRA_BYTE );
+   texImage->Data = (GLubyte *) MALLOC( numPixels * components + EXTRA_BYTE );
 
    if (!texImage->Data) {
       /* out of memory */
@@ -872,7 +872,7 @@
    /* XXX should we really allocate memory for the image or let it be NULL? */
    /*texImage->Data = NULL;*/
 
-   texImage->Data = (GLubyte *) GL_ALLOC( numPixels * components + EXTRA_BYTE );
+   texImage->Data = (GLubyte *) MALLOC( numPixels * components + EXTRA_BYTE );
 
    /*
     * Let's see if anyone finds this.  If glTexImage2D() is called with
@@ -1882,7 +1882,7 @@
    /*
     * Allocate image struct and image data buffer
     */
-   image = GL_ALLOC_STRUCT( gl_image );
+   image = MALLOC_STRUCT( gl_image );
    if (image) {
       image->Width = width;
       image->Height = height;
@@ -1891,9 +1891,9 @@
       image->Format = format;
       image->Type = GL_UNSIGNED_BYTE;
       image->RefCount = 0;
-      image->Data = (GLubyte *) GL_ALLOC( width * height * components );
+      image->Data = (GLubyte *) MALLOC( width * height * components );
       if (!image->Data) {
-         GL_FREE(image);
+         FREE(image);
          return NULL;
       }
    }