diff options
author | Roland Scheidegger <[email protected]> | 2004-02-06 15:20:59 +0000 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2004-02-06 15:20:59 +0000 |
commit | 531b59db3c466aad00bc07ec2863b7dfac57148d (patch) | |
tree | bfbb669e93c740152eea888c0408aa633ff81b58 /src | |
parent | e5a94ba138f9a628b1237fa815c2af9c9da077eb (diff) |
remove bogus check of texture target in RadeonTexParameter
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_tex.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_tex.c b/src/mesa/drivers/dri/radeon/radeon_tex.c index de561ab5416..87c26f89780 100644 --- a/src/mesa/drivers/dri/radeon/radeon_tex.c +++ b/src/mesa/drivers/dri/radeon/radeon_tex.c @@ -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: |