diff options
author | Brian Paul <[email protected]> | 2006-10-29 18:03:16 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-10-29 18:03:16 +0000 |
commit | d6272e06172f7ac7a0d6e8062e8ffba33e1ab3ba (patch) | |
tree | 6aadaf797cea8dfdc12ba662f209282d15d6ef6c /src/mesa/main/texenvprogram.c | |
parent | efd95c10844df0c93ee3eab41259f719f55f171f (diff) |
Change _mesa_init_instruction() to initialize an array of instructions.
Diffstat (limited to 'src/mesa/main/texenvprogram.c')
-rw-r--r-- | src/mesa/main/texenvprogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 5f798cc7df4..5cdb2342cd4 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -474,7 +474,7 @@ emit_op(struct texenv_fragment_program *p, GLuint nr = p->program->Base.NumInstructions++; struct prog_instruction *inst = &p->program->Base.Instructions[nr]; - _mesa_init_instruction(inst); + _mesa_init_instructions(inst, 1); inst->Opcode = op; emit_arg( &inst->SrcReg[0], src0 ); |