summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arbvertparse.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-02-12 21:57:29 +0000
committerBrian Paul <[email protected]>2004-02-12 21:57:29 +0000
commit193d211a190ce26ca82923377c22941cdf184766 (patch)
tree115962892cd0b44f6ac2bd097e339da248c54651 /src/mesa/main/arbvertparse.c
parent5396ab27427b8ec8d703af11e11b9e2933882ef6 (diff)
Minor re-org of state for fog and precision options.
Diffstat (limited to 'src/mesa/main/arbvertparse.c')
-rw-r--r--src/mesa/main/arbvertparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/arbvertparse.c b/src/mesa/main/arbvertparse.c
index 0bc2a2d04ce..b8bf0b7f91e 100644
--- a/src/mesa/main/arbvertparse.c
+++ b/src/mesa/main/arbvertparse.c
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 5.1
+ * Version: 6.1
*
- * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -202,7 +202,7 @@ _mesa_parse_arb_vertex_program(GLcontext * ctx, GLenum target,
}
/* Eh.. we parsed something that wasn't a vertex program. doh! */
- if (ap.type != GL_VERTEX_PROGRAM_ARB)
+ if (ap.Base.Target != GL_VERTEX_PROGRAM_ARB)
{
program->Instructions = (struct vp_instruction *) _mesa_malloc (
sizeof(struct vp_instruction) );