From 305b83a4153442e53f54cd5b817238c95161f7db Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 17 Aug 2007 15:27:00 +0100 Subject: [PATCH] added call to _mesa_load_state_parameters() --- src/mesa/state_tracker/st_atom_fs.c | 3 +++ 1 file changed, 3 insertions(+) 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, -- 2.30.2