diff options
author | Brian Paul <[email protected]> | 1999-10-13 18:42:49 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-10-13 18:42:49 +0000 |
commit | bd5cdaf4442872d3cd2ff94eeafadd481d27fcfb (patch) | |
tree | 0adfaaa95b9d0b5334a7a45e3599ef905b188bb2 /src/mesa/main/accum.c | |
parent | 1a3b8ffe01a3844d990627db3d5f2f04006f17eb (diff) |
removed GL_ prefix from memory macros
Diffstat (limited to 'src/mesa/main/accum.c')
-rw-r--r-- | src/mesa/main/accum.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c index a053730bb3e..b7bb3f6e854 100644 --- a/src/mesa/main/accum.c +++ b/src/mesa/main/accum.c @@ -1,4 +1,4 @@ -/* $Id: accum.c,v 1.5 1999/10/11 04:20:25 joukj Exp $ */ +/* $Id: accum.c,v 1.6 1999/10/13 18:42:49 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -80,13 +80,13 @@ void gl_alloc_accum_buffer( GLcontext *ctx ) GLint n; if (ctx->Buffer->Accum) { - GL_FREE( ctx->Buffer->Accum ); + FREE( ctx->Buffer->Accum ); ctx->Buffer->Accum = NULL; } /* allocate accumulation buffer if not already present */ n = ctx->Buffer->Width * ctx->Buffer->Height * 4 * sizeof(GLaccum); - ctx->Buffer->Accum = (GLaccum *) GL_ALLOC( n ); + ctx->Buffer->Accum = (GLaccum *) MALLOC( n ); if (!ctx->Buffer->Accum) { /* unable to setup accumulation buffer */ gl_error( ctx, GL_OUT_OF_MEMORY, "glAccum" ); @@ -429,7 +429,7 @@ void gl_clear_accum_buffer( GLcontext *ctx ) if (!ctx->Buffer->Accum) { /* try to alloc accumulation buffer */ ctx->Buffer->Accum = (GLaccum *) - GL_ALLOC( buffersize * 4 * sizeof(GLaccum) ); + MALLOC( buffersize * 4 * sizeof(GLaccum) ); } if (ctx->Buffer->Accum) { |