solution to the color attribute case

This commit is contained in:
Sam Gateau 2015-04-07 10:04:51 -07:00
parent dee651069c
commit 88afb3cedc

View file

@ -2504,7 +2504,7 @@ int Model::renderMeshesFromList(QVector<int>& list, gpu::Batch& batch, RenderMod
} }
if (mesh.colors.isEmpty()) { if (mesh.colors.isEmpty()) {
GLBATCH(glColor4f)(0.0f, 1.0f, 0.0f, 1.0f); GLBATCH(glColor4f)(1.0f, 1.0f, 1.0f, 1.0f);
} }
qint64 offset = 0; qint64 offset = 0;