projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
628b18b
)
Bugzilla #2708: Disable the fallback on GL_SPHERE_MAP. It appears to hurt more
author
Eric Anholt
<anholt@FreeBSD.org>
Tue, 31 May 2005 23:32:47 +0000
(23:32 +0000)
committer
Eric Anholt
<anholt@FreeBSD.org>
Tue, 31 May 2005 23:32:47 +0000
(23:32 +0000)
than it helps, and we seem to have a handle on how to fix it.
src/mesa/drivers/dri/r200/r200_texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_texstate.c
b/src/mesa/drivers/dri/r200/r200_texstate.c
index
3fba25d
..
4a6b285
100644
(file)
--- a/
src/mesa/drivers/dri/r200/r200_texstate.c
+++ b/
src/mesa/drivers/dri/r200/r200_texstate.c
@@
-1016,8
+1016,7
@@
static GLboolean r200_validate_texgen( GLcontext *ctx, GLuint unit )
case GL_SPHERE_MAP:
rmesa->TexGenNeedNormals[unit] = GL_TRUE;
tgi |= R200_TEXGEN_INPUT_SPHERE<<inputshift;
- /* GL_SPHERE_MAP doesn't appear to work. */
- return GL_FALSE;
+ break;
case 0:
/* All texgen units were disabled, so just pass coords through. */