summaryrefslogtreecommitdiff
path: root/src/mesa/main/nvvertparse.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-11 01:20:06 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-11 01:20:06 +0000
commitd0492cf1377897c8113a109aa936ee7a7084b9c8 (patch)
tree93fbb24cd921ec0e04365190d44d3d079e02aef3 /src/mesa/main/nvvertparse.c
parent6cfaff16334981a247694b2ca30fffc398a330d0 (diff)
Some groundwork for GL_ARB_vertex/fragment_program.
Diffstat (limited to 'src/mesa/main/nvvertparse.c')
-rw-r--r--src/mesa/main/nvvertparse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/nvvertparse.c b/src/mesa/main/nvvertparse.c
index ed38dc65b9..f8e1168ded 100644
--- a/src/mesa/main/nvvertparse.c
+++ b/src/mesa/main/nvvertparse.c
@@ -1,4 +1,4 @@
-/* $Id: nvvertparse.c,v 1.5 2003/03/29 16:38:08 brianp Exp $ */
+/* $Id: nvvertparse.c,v 1.6 2003/04/11 01:20:12 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1283,6 +1283,7 @@ _mesa_parse_nv_vertex_program(GLcontext *ctx, GLenum dstTarget,
FREE(program->Base.String);
}
program->Base.String = programString;
+ program->Base.Format = GL_PROGRAM_FORMAT_ASCII_ARB;
if (program->Instructions) {
FREE(program->Instructions);
}