diff options
author | Roland Scheidegger <rscheidegger@gmx.ch> | 2004-02-06 15:25:37 +0000 |
---|---|---|
committer | Roland Scheidegger <rscheidegger@gmx.ch> | 2004-02-06 15:25:37 +0000 |
commit | 4c6b629b3856c3e4acb51bf18fd9915532345967 (patch) | |
tree | 3ba1d88736ab6a1fa1c1a9ebaf82da739ca12cb2 | |
parent | c2f28a3fd1b3831efb34ce8cb472381efd9456b3 (diff) |
remove bogus check of texture target in R200TexParameter
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_tex.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_tex.c b/src/mesa/drivers/dri/r200/r200_tex.c index ed871e0b53..2a5603b4d5 100644 --- a/src/mesa/drivers/dri/r200/r200_tex.c +++ b/src/mesa/drivers/dri/r200/r200_tex.c @@ -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: |