added call to _mesa_load_state_parameters()
authorBrian <brian.paul@tungstengraphics.com>
Fri, 17 Aug 2007 14:27:00 +0000 (15:27 +0100)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 17 Aug 2007 14:27:00 +0000 (15:27 +0100)
src/mesa/state_tracker/st_atom_fs.c

index 41ad49b317a758b10539c33b5454b7e486fe7a58..9aba9aaa565845bc958e3f1f43c821f894b47927 100644 (file)
@@ -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,