diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-09-28 16:19:51 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-09-28 16:19:51 -0600 |
commit | 78876bf61c6f6e3c3fec471431f91307f51c107a (patch) | |
tree | 3fbd254fd893d795a66cd279c290df4522737ee4 /src/mesa | |
parent | 636480cc9c7836daf879cb45644900922cf31f47 (diff) |
fix st_use_program()
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_cb_program.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_program.c b/src/mesa/state_tracker/st_cb_program.c index 5c00dd1ae1..8df8b263d3 100644 --- a/src/mesa/state_tracker/st_cb_program.c +++ b/src/mesa/state_tracker/st_cb_program.c @@ -37,6 +37,7 @@ #include "shader/prog_parameter.h" #include "shader/program.h" #include "shader/programopt.h" +#include "shader/shader_api.h" #include "st_context.h" #include "st_program.h" @@ -70,6 +71,8 @@ static void st_use_program( GLcontext *ctx, struct st_context *st = st_context(ctx); st->dirty.st |= ST_NEW_SHADER; + + _mesa_use_program(ctx, program); } |