summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2005-05-31 23:32:47 +0000
committerEric Anholt <anholt@FreeBSD.org>2005-05-31 23:32:47 +0000
commit0009e3d97d1945ece440f82ff52b298fff5877e4 (patch)
tree95ae8500ddba0c6e843ff03ab2b5fd352f7a02d1 /src
parent628b18b8cac5e691e7145deb1026e91d3cf03094 (diff)
Bugzilla #2708: Disable the fallback on GL_SPHERE_MAP. It appears to hurt more
than it helps, and we seem to have a handle on how to fix it.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r200/r200_texstate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_texstate.c b/src/mesa/drivers/dri/r200/r200_texstate.c
index 3fba25d0b5..4a6b285a58 100644
--- 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. */