remove bogus check of texture target in RadeonTexParameter
authorRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 6 Feb 2004 15:20:59 +0000 (15:20 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 6 Feb 2004 15:20:59 +0000 (15:20 +0000)
src/mesa/drivers/dri/radeon/radeon_tex.c

index de561ab5416482c98056e9a780b297afd53d4233..87c26f89780f8262ea0df952594a6bc6be88ff4a 100644 (file)
@@ -623,10 +623,6 @@ static void radeonTexParameter( GLcontext *ctx, GLenum target,
               _mesa_lookup_enum_by_nr( pname ) );
    }
 
-   if ( ( target != GL_TEXTURE_2D ) &&
-       ( target != GL_TEXTURE_1D ) )
-      return;
-
    switch ( pname ) {
    case GL_TEXTURE_MIN_FILTER:
    case GL_TEXTURE_MAG_FILTER: