diff options
author | Brian Paul <[email protected]> | 2009-04-18 10:08:54 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-04-18 10:08:54 -0600 |
commit | c5af2ed60fa4fe3f33b53a8e252e24cfa490a156 (patch) | |
tree | e60a7db9214c2d5c42244101377bc5d89558cfe3 /src/mesa/shader/program.c | |
parent | 2bf326af10d02b2d5a44cee98fa62c8a8940dd11 (diff) |
mesa: add switch case for GL_VERTEX_STATE_PROGRAM_NV in _mesa_new_program()
Fixes bug seen in progs/tests/vptest1.c
Diffstat (limited to 'src/mesa/shader/program.c')
-rw-r--r-- | src/mesa/shader/program.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index 2e5632710e4..d270bf9e1c3 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c @@ -296,6 +296,7 @@ _mesa_new_program(GLcontext *ctx, GLenum target, GLuint id) struct gl_program *prog; switch (target) { case GL_VERTEX_PROGRAM_ARB: /* == GL_VERTEX_PROGRAM_NV */ + case GL_VERTEX_STATE_PROGRAM_NV: prog = _mesa_init_vertex_program(ctx, CALLOC_STRUCT(gl_vertex_program), target, id ); break; |