summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enums.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/enums.c')
-rw-r--r--src/mesa/main/enums.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c
index ab94f506152..b1b40a95cad 100644
--- a/src/mesa/main/enums.c
+++ b/src/mesa/main/enums.c
@@ -1,4 +1,4 @@
-/* $Id: enums.c,v 1.2 1999/10/10 12:51:29 brianp Exp $ */
+/* $Id: enums.c,v 1.3 1999/10/13 18:42:50 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -825,7 +825,7 @@ static int compar_nr( const enum_elt **a, const enum_elt **b )
static void sort_enums( void )
{
int i;
- index1 = (enum_elt **)GL_ALLOC( Elements(all_enums) * sizeof(enum_elt *) );
+ index1 = (enum_elt **)MALLOC( Elements(all_enums) * sizeof(enum_elt *) );
sorted = 1;
qsort( all_enums, Elements(all_enums), sizeof(*all_enums),