| ... | @@ -548,7 +548,7 @@ impl Engine { | ... | @@ -548,7 +548,7 @@ impl Engine { |
| 548 | ) -> CachedTexture { | 548 | ) -> CachedTexture { |
| 549 | let d = self.effective_depth(depth); | 549 | let d = self.effective_depth(depth); |
| 550 | let fmt = self.texture_format_for(d); | 550 | let fmt = self.texture_format_for(d); |
| 551 | create_texture_dod_fmt(&self.device, size, origin, canvas_size, d, fmt, content_hash) | 551 | self.cache.acquire_texture_dod_fmt(&self.device, size, origin, canvas_size, d, fmt, content_hash) |
| 552 | } | 552 | } |
| 553 | | 553 | |
| 554 | fn pipelines_for(&self, depth: BitDepth) -> &RefCell<ShaderRegistry> { | 554 | fn pipelines_for(&self, depth: BitDepth) -> &RefCell<ShaderRegistry> { |