summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/hint.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-09-27 14:55:52 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-09-27 15:23:13 -0700
commit7f11d471e6bafae2282ec82ba4a19d30c440d28f (patch)
treefbdfebea41ca98836d97dde5bd8b14da60f63758 /src/mesa/main/hint.c
parent4da5f1b7c52fb02a3b2baa846931c2dd5ee1b92e (diff)
downloadexternal_mesa3d-7f11d471e6bafae2282ec82ba4a19d30c440d28f.zip
external_mesa3d-7f11d471e6bafae2282ec82ba4a19d30c440d28f.tar.gz
external_mesa3d-7f11d471e6bafae2282ec82ba4a19d30c440d28f.tar.bz2
mesa: Force GL_SGIS_generate_mipmap to always be enabled
As per discussions at XDS.
Diffstat (limited to 'src/mesa/main/hint.c')
-rw-r--r--src/mesa/main/hint.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/hint.c b/src/mesa/main/hint.c
index e2d4129..8902ae3 100644
--- a/src/mesa/main/hint.c
+++ b/src/mesa/main/hint.c
@@ -97,10 +97,6 @@ _mesa_Hint( GLenum target, GLenum mode )
/* GL_SGIS_generate_mipmap */
case GL_GENERATE_MIPMAP_HINT_SGIS:
- if (!ctx->Extensions.SGIS_generate_mipmap) {
- _mesa_error(ctx, GL_INVALID_ENUM, "glHint(target)");
- return;
- }
if (ctx->Hint.GenerateMipmap == mode)
return;
FLUSH_VERTICES(ctx, _NEW_HINT);