From bf4e9820829f98c0ba32a93722cb556a01fea594 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 28 Apr 2009 09:59:18 +0000 Subject: [PATCH] See previous commit message --- panda/src/glstuff/glGraphicsStateGuardian_src.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index 2bb8ce60c7..80f40afd94 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/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();