summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/depth.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-08-14 14:28:11 +0000
committerBrian Paul <[email protected]>2004-08-14 14:28:11 +0000
commit21841f0ae5ca9b55ee23ecaa3513e91b6752aa16 (patch)
treee1b1fabb444d50c23a8461ab3839761756e1fb9b /src/mesa/main/depth.c
parentf226191d52b98eab83a1761f48c88688a4a27408 (diff)
fix some memory leaks (bug #1002030)
Diffstat (limited to 'src/mesa/main/depth.c')
-rw-r--r--src/mesa/main/depth.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c
index eb8c8b821b2..d92423dcee1 100644
--- a/src/mesa/main/depth.c
+++ b/src/mesa/main/depth.c
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 5.1
+ * Version: 6.1
*
- * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -177,10 +177,4 @@ void _mesa_init_depth( GLcontext * ctx )
ctx->DepthMaxF = (GLfloat) ctx->DepthMax;
}
ctx->MRD = 1.0; /* Minimum resolvable depth value, for polygon offset */
-
-#if FEATURE_ARB_occlusion_query
- ctx->Occlusion.QueryObjects = _mesa_NewHashTable();
-#endif
- ctx->OcclusionResult = GL_FALSE;
- ctx->OcclusionResultSaved = GL_FALSE;
}