Merge dd07eba561
into 877d278785
This commit is contained in:
commit
a7bcc14d4d
@ -1098,7 +1098,11 @@ impl RenderMeshInstanceGpuBuilder {
|
|||||||
mesh_vertex_slice.range.start,
|
mesh_vertex_slice.range.start,
|
||||||
mesh_vertex_slice.range.end - mesh_vertex_slice.range.start,
|
mesh_vertex_slice.range.end - mesh_vertex_slice.range.start,
|
||||||
),
|
),
|
||||||
None => (0, 0),
|
None => {
|
||||||
|
// GPU memory for this mesh hasn't been allocated yet. Retry next frame.
|
||||||
|
meshes_to_reextract_next_frame.insert(entity);
|
||||||
|
return None;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
let (mesh_is_indexed, first_index_index, index_count) =
|
let (mesh_is_indexed, first_index_index, index_count) =
|
||||||
match mesh_allocator.mesh_index_slice(&self.shared.mesh_asset_id) {
|
match mesh_allocator.mesh_index_slice(&self.shared.mesh_asset_id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user