diff --git a/crates/engine/src/eval/mod.rs b/crates/engine/src/eval/mod.rs index 9885924a7af3360b3489add4ea0d9c31a2382c00..6ff647d6cf16aa50078bc91e80ad3251af67ba47 100644 --- a/crates/engine/src/eval/mod.rs +++ b/crates/engine/src/eval/mod.rs @@ -548,7 +548,7 @@ impl Engine { ) -> CachedTexture { let d = self.effective_depth(depth); let fmt = self.texture_format_for(d); - create_texture_dod_fmt(&self.device, size, origin, canvas_size, d, fmt, content_hash) + self.cache.acquire_texture_dod_fmt(&self.device, size, origin, canvas_size, d, fmt, content_hash) } fn pipelines_for(&self, depth: BitDepth) -> &RefCell {