Fix plunger update in basic glsl mode
This commit is contained in:
parent
cc4f638ed6
commit
d79a5aaf01
@ -280,6 +280,8 @@ void STKMeshSceneNode::render()
|
||||
AbsoluteTransformation.getInverse(invmodel);
|
||||
|
||||
glDisable(GL_CULL_FACE);
|
||||
if (update_each_frame && !UserConfigParams::m_dynamic_lights)
|
||||
updatevbo();
|
||||
if (!spareWhiteTex)
|
||||
spareWhiteTex = getUnicolorTexture(video::SColor(255, 255, 255, 255));
|
||||
glUseProgram(MeshShader::ObjectPass2Shader::getInstance()->Program);
|
||||
|
Loading…
x
Reference in New Issue
Block a user