summaryrefslogtreecommitdiff
path: root/src/mesa/main/nvfragparse.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/nvfragparse.c
parent6cfaff16334981a247694b2ca30fffc398a330d0 (diff)
Some groundwork for GL_ARB_vertex/fragment_program.
Diffstat (limited to 'src/mesa/main/nvfragparse.c')
-rw-r--r--src/mesa/main/nvfragparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/nvfragparse.c b/src/mesa/main/nvfragparse.c
index a3e16aa866..5846452b16 100644
--- a/src/mesa/main/nvfragparse.c
+++ b/src/mesa/main/nvfragparse.c
@@ -1537,6 +1537,7 @@ _mesa_parse_nv_fragment_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);
}