Browse Source

See previous commit message

rdb 16 years ago
parent
commit
bf4e982082
1 changed files with 4 additions and 0 deletions
  1. 4 0
      panda/src/glstuff/glGraphicsStateGuardian_src.cxx

+ 4 - 0
panda/src/glstuff/glGraphicsStateGuardian_src.cxx

@@ -6270,6 +6270,10 @@ set_state_and_transform(const RenderState *target,
     do_issue_color_scale();
     _state_mask.set_bit(color_slot);
     _state_mask.set_bit(color_scale_slot);
+    if (_current_shader_context) {
+      _current_shader_context->issue_parameters(this, Shader::SSD_color);
+      _current_shader_context->issue_parameters(this, Shader::SSD_colorscale);
+    }
   }
 
   int cull_face_slot = CullFaceAttrib::get_class_slot();