summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvfragparse.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-10-29 18:03:16 +0000
committerBrian Paul <[email protected]>2006-10-29 18:03:16 +0000
commitd6272e06172f7ac7a0d6e8062e8ffba33e1ab3ba (patch)
tree6aadaf797cea8dfdc12ba662f209282d15d6ef6c /src/mesa/shader/nvfragparse.c
parentefd95c10844df0c93ee3eab41259f719f55f171f (diff)
Change _mesa_init_instruction() to initialize an array of instructions.
Diffstat (limited to 'src/mesa/shader/nvfragparse.c')
-rw-r--r--src/mesa/shader/nvfragparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/nvfragparse.c b/src/mesa/shader/nvfragparse.c
index 49ce220944e..5f3a30b7416 100644
--- a/src/mesa/shader/nvfragparse.c
+++ b/src/mesa/shader/nvfragparse.c
@@ -1273,7 +1273,7 @@ Parse_InstructionSequence(struct parse_state *parseState,
GLubyte token[100];
/* Initialize the instruction */
- _mesa_init_instruction(inst);
+ _mesa_init_instructions(inst, 1);
/* special instructions */
if (Parse_String(parseState, "DEFINE")) {