projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf326a
)
mesa: add switch case for GL_VERTEX_STATE_PROGRAM_NV in _mesa_new_program()
author
Brian Paul
<brianp@vmware.com>
Sat, 18 Apr 2009 16:08:54 +0000
(10:08 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sat, 18 Apr 2009 16:08:54 +0000
(10:08 -0600)
Fixes bug seen in progs/tests/vptest1.c
src/mesa/shader/program.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/program.c
b/src/mesa/shader/program.c
index
2e56327
..
d270bf9
100644
(file)
--- 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;