Fix per-instance vertex colors uploading if data is already valid
This commit is contained in:
@@ -238,6 +238,7 @@ void StaticModel::Draw(RenderContext& renderContext)
|
||||
SAFE_DELETE_GPU_RESOURCE(vertexColorsBuffer);
|
||||
}
|
||||
}
|
||||
_vertexColorsDirty = false;
|
||||
}
|
||||
|
||||
#if USE_EDITOR
|
||||
|
||||
Reference in New Issue
Block a user