summaryrefslogtreecommitdiff
path: root/src/mesa/shader/arbvertparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/arbvertparse.c')
-rw-r--r--src/mesa/shader/arbvertparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/arbvertparse.c b/src/mesa/shader/arbvertparse.c
index 33086c2f72..fd0666b326 100644
--- a/src/mesa/shader/arbvertparse.c
+++ b/src/mesa/shader/arbvertparse.c
@@ -192,8 +192,8 @@ _mesa_parse_arb_vertex_program(GLcontext * ctx, GLenum target,
/* Parse error. Allocate a dummy program and return */
if (retval)
{
- program->Instructions = (struct vp_instruction *) _mesa_malloc (
- sizeof(struct vp_instruction) );
+ program->Instructions = (struct vp_instruction *)
+ _mesa_malloc ( sizeof(struct vp_instruction) );
program->Instructions[0].Opcode = VP_OPCODE_END;
return;
}