mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
Apply fix from andresv to fix flickering objects with a shader
This commit is contained in:
parent
4232e0b17c
commit
a464e45c0e
@ -4305,6 +4305,7 @@ do_issue_shader(bool state_has_changed) {
|
||||
context->bind(this);
|
||||
_current_shader = shader;
|
||||
_current_shader_context = context;
|
||||
context->issue_parameters(this, Shader::SSD_shaderinputs);
|
||||
} else {
|
||||
#ifdef OPENGLES_2
|
||||
context->bind(this, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user