mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 01:36:20 +02:00
solution to the color attribute case
This commit is contained in:
parent
dee651069c
commit
88afb3cedc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue