summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-06-27 18:20:27 -0700
committerKenneth Graunke <[email protected]>2013-06-28 13:35:22 -0700
commitc139708087ead063da7ac64126af69f2fe7bcf1e (patch)
tree60637b08a069d0ecaa399d0d59ae39f22e1f82c0 /src/mesa/program
parentb5305a303bd13f91a00f36f205b767d1bfef2ab5 (diff)
mesa: GL_EXT_secondary_color 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 <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Brian Paul <[email protected]>
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 cbf3fe6ca7c..4eadb98b907 100644
--- a/src/mesa/program/program_parse.y
+++ b/src/mesa/program/program_parse.y
@@ -1145,11 +1145,6 @@ vtxAttribItem: POSITION
}
| COLOR optColorType
{
- if (!state->ctx->Extensions.EXT_secondary_color) {
- yyerror(& @2, state, "GL_EXT_secondary_color not supported");
- YYERROR;
- }
-
$$ = VERT_ATTRIB_COLOR0 + $2;
}
| FOGCOORD