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 de561ab..87c26f8 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: