summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-07-24 16:49:41 -0600
committerBrian <[email protected]>2007-07-24 16:49:41 -0600
commit3ffd30638a3be1fafc976cc5d640022c734b0458 (patch)
tree0eccef2009db254ad1ad0d005ff076ac87a79ee7
parent496ee38b7130c55cbdddb1456f8ad618897bd711 (diff)
added GL_FRAGMENT_PROGRAM_NV in st_new_program()
-rw-r--r--src/mesa/state_tracker/st_cb_program.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_program.c b/src/mesa/state_tracker/st_cb_program.c
index 18061ca69cf..fa9eaf446e6 100644
--- a/src/mesa/state_tracker/st_cb_program.c
+++ b/src/mesa/state_tracker/st_cb_program.c
@@ -79,7 +79,9 @@ static struct gl_program *st_new_program( GLcontext *ctx,
id );
}
- case GL_FRAGMENT_PROGRAM_ARB: {
+ case GL_FRAGMENT_PROGRAM_ARB:
+ case GL_FRAGMENT_PROGRAM_NV:
+ {
struct st_fragment_program *prog = CALLOC_STRUCT(st_fragment_program);
prog->id = st->program_id++;