summaryrefslogtreecommitdiff
path: root/src/mesa/main/matrix.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>1999-10-13 18:42:49 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>1999-10-13 18:42:49 +0000
commitbd5cdaf4442872d3cd2ff94eeafadd481d27fcfb (patch)
tree0adfaaa95b9d0b5334a7a45e3599ef905b188bb2 /src/mesa/main/matrix.c
parent1a3b8ffe01a3844d990627db3d5f2f04006f17eb (diff)
removed GL_ prefix from memory macros
Diffstat (limited to 'src/mesa/main/matrix.c')
-rw-r--r--src/mesa/main/matrix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c
index a5b080e2bd..ebf55c37c8 100644
--- a/src/mesa/main/matrix.c
+++ b/src/mesa/main/matrix.c
@@ -1,4 +1,4 @@
-/* $Id: matrix.c,v 1.6 1999/10/10 12:56:45 brianp Exp $ */
+/* $Id: matrix.c,v 1.7 1999/10/13 18:42:50 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1410,7 +1410,7 @@ void gl_matrix_ctr( GLmatrix *m )
void gl_matrix_dtr( GLmatrix *m )
{
if (m->inv != 0) {
- GL_FREE(m->inv);
+ FREE(m->inv);
m->inv = 0;
}
}
@@ -1426,7 +1426,7 @@ void gl_matrix_set_identity( GLmatrix *m )
void gl_matrix_alloc_inv( GLmatrix *m )
{
if (m->inv == 0) {
- m->inv = (GLfloat *)GL_ALLOC(16*sizeof(GLfloat));
+ m->inv = (GLfloat *)MALLOC(16*sizeof(GLfloat));
MEMCPY( m->inv, Identity, 16 * sizeof(GLfloat) );
}
}