projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2f28a3
)
remove bogus check of texture target in R200TexParameter
author
Roland Scheidegger
<rscheidegger@gmx.ch>
Fri, 6 Feb 2004 15:25:37 +0000
(15:25 +0000)
committer
Roland Scheidegger
<rscheidegger@gmx.ch>
Fri, 6 Feb 2004 15:25:37 +0000
(15:25 +0000)
src/mesa/drivers/dri/r200/r200_tex.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_tex.c
b/src/mesa/drivers/dri/r200/r200_tex.c
index ed871e0b53c1f2f1edabd95d27b297d59e3140fb..2a5603b4d5c408bc0d0ee158d6edcf5ab0f24e05 100644
(file)
--- 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: