commit | d6272e06172f7ac7a0d6e8062e8ffba33e1ab3ba | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Sun Oct 29 18:03:16 2006 +0000 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Sun Oct 29 18:03:16 2006 +0000 |
tree | 6aadaf797cea8dfdc12ba662f209282d15d6ef6c | |
parent | efd95c10844df0c93ee3eab41259f719f55f171f [diff] [blame] |
Change _mesa_init_instruction() to initialize an array of instructions.
diff --git a/src/mesa/shader/nvfragparse.c b/src/mesa/shader/nvfragparse.c index 49ce220..5f3a30b 100644 --- a/src/mesa/shader/nvfragparse.c +++ b/src/mesa/shader/nvfragparse.c
@@ -1273,7 +1273,7 @@ GLubyte token[100]; /* Initialize the instruction */ - _mesa_init_instruction(inst); + _mesa_init_instructions(inst, 1); /* special instructions */ if (Parse_String(parseState, "DEFINE")) {