summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program_parse.y
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-10-10 17:02:45 -0700
committerKenneth Graunke <[email protected]>2012-10-16 11:35:24 -0700
commitf7cfe3fc708ce7d90699ec3144691371740d62e6 (patch)
tree210653bc4abf8c51f1aa3fe65922c163a7fd6832 /src/mesa/program/program_parse.y
parent5bb6f15f79a58e145817edf4894d53402ebdd5ba (diff)
mesa: Remove dead program_parameter::Flags field.
All flags are now gone, so we can stop storing and passing this around. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/program/program_parse.y')
-rw-r--r--src/mesa/program/program_parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/program_parse.y b/src/mesa/program/program_parse.y
index 759c9ecd007..025b54706da 100644
--- a/src/mesa/program/program_parse.y
+++ b/src/mesa/program/program_parse.y
@@ -2473,7 +2473,7 @@ int add_state_reference(struct gl_program_parameter_list *param_list,
name = _mesa_program_state_string(tokens);
index = _mesa_add_parameter(param_list, PROGRAM_STATE_VAR, name,
- size, GL_NONE, NULL, tokens, 0x0);
+ size, GL_NONE, NULL, tokens);
param_list->StateFlags |= _mesa_program_state_flags(tokens);
/* free name string here since we duplicated it in add_parameter() */