All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allows
[mesa.git] / src / mesa / drivers / dri / mga / mgatex.c
index 1b45c0f9019ff546325a24f25aec37dec191fbfd..8caa1f8580f2f801e7924537b5a97835df9b2f3a 100644 (file)
@@ -495,7 +495,6 @@ mgaDeleteTexture( GLcontext *ctx, struct gl_texture_object *tObj )
    mgaContextPtr mmesa = MGA_CONTEXT( ctx );
    driTextureObject * t = (driTextureObject *) tObj->DriverData;
 
-   assert(t);
    if ( t ) {
       if ( mmesa ) {
         FLUSH_BATCH( mmesa );