added GL_FRAGMENT_PROGRAM_NV in st_new_program()
authorBrian <brian.paul@tungstengraphics.com>
Tue, 24 Jul 2007 22:49:41 +0000 (16:49 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 24 Jul 2007 22:49:41 +0000 (16:49 -0600)
src/mesa/state_tracker/st_cb_program.c

index 18061ca69cf7692b6c3455056c7f3fafb0258fd5..fa9eaf446e6b5b05789fa6e4d0f0f1e8620bc92c 100644 (file)
@@ -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++;