aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-02-05 17:38:13 +0000
committerBrian Paul <[email protected]>2005-02-05 17:38:13 +0000
commitce657cf7527bb5bb417577280a634a1e7b657509 (patch)
tree57441930243c0acd5f10660fb2aac7798660758a /src/mesa/drivers
parentcf899d400d480d7017311d92f2cfd94391b785b4 (diff)
remove unneeded code
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_context.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_context.c b/src/mesa/drivers/dri/tdfx/tdfx_context.c
index e251c03a1ca..2a9e23a1a6f 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_context.c
+++ b/src/mesa/drivers/dri/tdfx/tdfx_context.c
@@ -561,14 +561,6 @@ tdfxDestroyContext( __DRIcontextPrivate *driContextPriv )
/* This share group is about to go away, free our private
* texture object data.
*/
-#if 0
- struct gl_texture_object *tObj;
- tObj = fxMesa->glCtx->Shared->TexObjectList;
- while (tObj) {
- tdfxTMFreeTexture(fxMesa, tObj);
- tObj = tObj->Next;
- }
-#else
struct _mesa_HashTable *textures = fxMesa->glCtx->Shared->TexObjects;
GLuint id;
for (id = _mesa_HashFirstEntry(textures);
@@ -578,7 +570,6 @@ tdfxDestroyContext( __DRIcontextPrivate *driContextPriv )
= (struct gl_texture_object *) _mesa_HashLookup(textures, id);
tdfxTMFreeTexture(fxMesa, tObj);
}
-#endif
}
tdfxTMClose(fxMesa); /* free texture memory */