Fix race condition when growing an image::Atlas
This commit is contained in:
parent
cf434236e7
commit
f02f0c01ea
4 changed files with 30 additions and 19 deletions
|
|
@ -369,7 +369,6 @@ impl Pipeline {
|
|||
layer::Image::Raster { handle, bounds } => {
|
||||
if let Some(atlas_entry) = raster_cache.upload(
|
||||
device,
|
||||
queue,
|
||||
encoder,
|
||||
handle,
|
||||
&mut self.texture_atlas,
|
||||
|
|
@ -395,7 +394,6 @@ impl Pipeline {
|
|||
|
||||
if let Some(atlas_entry) = vector_cache.upload(
|
||||
device,
|
||||
queue,
|
||||
encoder,
|
||||
handle,
|
||||
*color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue