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/depth.c | |
parent | 1a3b8ffe01a3844d990627db3d5f2f04006f17eb (diff) |
removed GL_ prefix from memory macros
Diffstat (limited to 'src/mesa/main/depth.c')
-rw-r--r-- | src/mesa/main/depth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c index c0279f4a844..e3dbf77b85e 100644 --- a/src/mesa/main/depth.c +++ b/src/mesa/main/depth.c @@ -1,4 +1,4 @@ -/* $Id: depth.c,v 1.6 1999/10/11 04:22:11 joukj Exp $ */ +/* $Id: depth.c,v 1.7 1999/10/13 18:42:50 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -812,12 +812,12 @@ void gl_alloc_depth_buffer( GLcontext* ctx ) { /* deallocate current depth buffer if present */ if (ctx->Buffer->Depth) { - GL_FREE(ctx->Buffer->Depth); + FREE(ctx->Buffer->Depth); ctx->Buffer->Depth = NULL; } /* allocate new depth buffer, but don't initialize it */ - ctx->Buffer->Depth = (GLdepth *) GL_ALLOC( ctx->Buffer->Width + ctx->Buffer->Depth = (GLdepth *) MALLOC( ctx->Buffer->Width * ctx->Buffer->Height * sizeof(GLdepth) ); if (!ctx->Buffer->Depth) { |