summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2013-06-27 18:20:28 -0700
committerKenneth Graunke <kenneth@whitecape.org>2013-06-28 13:35:22 -0700
commit338ea2e4d14b5bf30fe2820facd71333d5acd527 (patch)
tree88a0ce7d9224693301242929df89e8fc2bbf83fc /src/mesa/program
parentc139708087ead063da7ac64126af69f2fe7bcf1e (diff)
downloadexternal_mesa3d-338ea2e4d14b5bf30fe2820facd71333d5acd527.zip
external_mesa3d-338ea2e4d14b5bf30fe2820facd71333d5acd527.tar.gz
external_mesa3d-338ea2e4d14b5bf30fe2820facd71333d5acd527.tar.bz2
mesa: GL_EXT_fog_coord is not optional
Every driver left in Mesa enables this extension all the time. There's no reason to let it be optional. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/program_parse.y5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/program/program_parse.y b/src/mesa/program/program_parse.y
index 4eadb98..e2da633 100644
--- a/src/mesa/program/program_parse.y
+++ b/src/mesa/program/program_parse.y
@@ -1149,11 +1149,6 @@ vtxAttribItem: POSITION
}
| FOGCOORD
{
- if (!state->ctx->Extensions.EXT_fog_coord) {
- yyerror(& @1, state, "GL_EXT_fog_coord not supported");
- YYERROR;
- }
-
$$ = VERT_ATTRIB_FOG;
}
| TEXCOORD optTexCoordUnitNum