From: Brian Date: Fri, 17 Aug 2007 14:27:00 +0000 (+0100) Subject: added call to _mesa_load_state_parameters() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=305b83a4153442e53f54cd5b817238c95161f7db;p=mesa.git added call to _mesa_load_state_parameters() --- diff --git a/src/mesa/state_tracker/st_atom_fs.c b/src/mesa/state_tracker/st_atom_fs.c index 41ad49b317a..9aba9aaa565 100644 --- a/src/mesa/state_tracker/st_atom_fs.c +++ b/src/mesa/state_tracker/st_atom_fs.c @@ -74,6 +74,9 @@ static void update_fs( struct st_context *st ) if (fp && params) { /* load program's constants array */ + + _mesa_load_state_parameters(st->ctx, params); + fp->constants.nr_constants = params->NumParameters; memcpy(fp->constants.constant, params->ParameterValues,