From 727d345b41c396af419a389808fdaec11aeafc3e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 26 Jan 2004 23:57:19 +0000 Subject: remove bogus assertion in DeleteTexture() function --- src/mesa/drivers/dri/r200/r200_tex.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mesa/drivers/dri/r200/r200_tex.c') diff --git a/src/mesa/drivers/dri/r200/r200_tex.c b/src/mesa/drivers/dri/r200/r200_tex.c index a644b2ad352..ed871e0b53c 100644 --- a/src/mesa/drivers/dri/r200/r200_tex.c +++ b/src/mesa/drivers/dri/r200/r200_tex.c @@ -959,8 +959,6 @@ static void r200DeleteTexture( GLcontext *ctx, r200ContextPtr rmesa = R200_CONTEXT(ctx); driTextureObject * t = (driTextureObject *) texObj->DriverData; - assert(t); - if ( R200_DEBUG & (DEBUG_STATE|DEBUG_TEXTURE) ) { fprintf( stderr, "%s( %p (target = %s) )\n", __FUNCTION__, (void *)texObj, _mesa_lookup_enum_by_nr( texObj->Target ) ); -- cgit v1.2.3