mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
remove bogus check of texture target in RadeonTexParameter
This commit is contained in:
parent
e5a94ba138
commit
531b59db3c
1 changed files with 0 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue