Fix per-instance vertex colors uploading if data is already valid

This commit is contained in:
Wojtek Figat
2021-10-18 12:29:13 +02:00
parent 5dbbfed654
commit a6cd97a8d3

View File

@@ -238,6 +238,7 @@ void StaticModel::Draw(RenderContext& renderContext)
SAFE_DELETE_GPU_RESOURCE(vertexColorsBuffer);
}
}
_vertexColorsDirty = false;
}
#if USE_EDITOR