Apply fix from andresv to fix flickering objects with a shader

This commit is contained in:
rdb 2010-04-18 15:50:15 +00:00
parent 4232e0b17c
commit a464e45c0e

View File

@ -4305,6 +4305,7 @@ do_issue_shader(bool state_has_changed) {
context->bind(this); context->bind(this);
_current_shader = shader; _current_shader = shader;
_current_shader_context = context; _current_shader_context = context;
context->issue_parameters(this, Shader::SSD_shaderinputs);
} else { } else {
#ifdef OPENGLES_2 #ifdef OPENGLES_2
context->bind(this, false); context->bind(this, false);