From d0492cf1377897c8113a109aa936ee7a7084b9c8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 11 Apr 2003 01:20:06 +0000 Subject: Some groundwork for GL_ARB_vertex/fragment_program. --- src/mesa/main/nvvertparse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/nvvertparse.c') diff --git a/src/mesa/main/nvvertparse.c b/src/mesa/main/nvvertparse.c index ed38dc65b9a..f8e1168ded3 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); } -- cgit v1.2.3