summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-03-17 15:31:52 +0000
committerBrian Paul <[email protected]>2000-03-17 15:31:52 +0000
commit650cb74bcb913d2589355d56a14da1ab0307d1fc (patch)
tree8d4a4e1f0198a6a85677db4f48f04a23abbb9b9d /src/mesa/main/context.c
parent46f717f949dd13d7be1621873f76d6fbc620149d (diff)
removed old Depth buffer pointer var
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 64d236ee518..f770326c39f 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.46 2000/03/11 23:23:26 brianp Exp $ */
+/* $Id: context.c,v 1.47 2000/03/17 15:31:52 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -405,8 +405,8 @@ GLframebuffer *gl_create_framebuffer( GLvisual *visual,
void gl_destroy_framebuffer( GLframebuffer *buffer )
{
if (buffer) {
- if (buffer->Depth) {
- FREE( buffer->Depth );
+ if (buffer->DepthBuffer) {
+ FREE( buffer->DepthBuffer );
}
if (buffer->Accum) {
FREE( buffer->Accum );