Fixed issue with colorization (mistake when merging)
This commit is contained in:
parent
cd1b9a66a0
commit
7812965d37
@ -394,6 +394,12 @@ public:
|
||||
glDrawElementsIndirect(GL_TRIANGLES,
|
||||
GL_UNSIGNED_SHORT,
|
||||
(const void*)((m_offset[T::MaterialType] + i) * sizeof(DrawElementsIndirectCommand)));
|
||||
|
||||
if (need_change_hue)
|
||||
{
|
||||
// Reset after changing
|
||||
T::InstancedSecondPassShader::getInstance()->changeableColor();
|
||||
}
|
||||
}
|
||||
} //drawIndirectSecondPass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user