Fix for bug #17617: GLSL shaders change vertex color unexpectedly.

This commit is contained in:
Brecht Van Lommel
2008-09-14 21:31:07 +00:00
parent 41a0b56b70
commit f554f14329

View File

@@ -560,7 +560,7 @@ void RAS_MaterialBucket::RenderMeshSlot(const MT_Transform& cameratrans, RAS_IRa
if (m_material->GetDrawingMode() & RAS_IRasterizer::RAS_RENDER_3DPOLYGON_TEXT)
rasty->IndexPrimitives_3DText(ms, m_material, rendertools);
// for multitexturing
else if((m_material->GetFlag() & RAS_MULTITEX))
else if((m_material->GetFlag() & (RAS_MULTITEX|RAS_BLENDERGLSL)))
rasty->IndexPrimitivesMulti(ms);
// use normal IndexPrimitives
else