Browse Source

remove bogus check of texture target in R200TexParameter

tags/R300_DRIVER_0
Roland Scheidegger 22 years ago
parent
commit
4c6b629b38
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      src/mesa/drivers/dri/r200/r200_tex.c

+ 0
- 4
src/mesa/drivers/dri/r200/r200_tex.c View File

@@ -888,10 +888,6 @@ static void r200TexParameter( 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:

Loading…
Cancel
Save