From: Brian Date: Tue, 24 Jul 2007 22:49:41 +0000 (-0600) Subject: added GL_FRAGMENT_PROGRAM_NV in st_new_program() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ffd30638a3be1fafc976cc5d640022c734b0458;p=mesa.git added GL_FRAGMENT_PROGRAM_NV in st_new_program() --- 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++;