Fixes for Vulkan

This commit is contained in:
Wojtek Figat
2022-09-06 22:54:00 +02:00
parent 2cd7967ec4
commit 3abbafa530
4 changed files with 13 additions and 2 deletions

View File

@@ -702,7 +702,6 @@ void DrawEmitterGPU(RenderContext& renderContext, ParticleBuffer* buffer, DrawCa
// TODO: model LOD picking for particles?
int32 lodIndex = 0;
ModelLOD& lod = model->LODs[lodIndex];
drawCalls += lod.Meshes.Count();
for (int32 meshIndex = 0; meshIndex < lod.Meshes.Count(); meshIndex++)
{
Mesh& mesh = lod.Meshes[meshIndex];