summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2004-02-06 15:25:37 +0000
committerRoland Scheidegger <[email protected]>2004-02-06 15:25:37 +0000
commit4c6b629b3856c3e4acb51bf18fd9915532345967 (patch)
tree3ba1d88736ab6a1fa1c1a9ebaf82da739ca12cb2 /src/mesa/drivers
parentc2f28a3fd1b3831efb34ce8cb472381efd9456b3 (diff)
remove bogus check of texture target in R200TexParameter
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r200/r200_tex.c4
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 ed871e0b53c..2a5603b4d5c 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: