From 5fd8cc2bc662d3874455af23006ecf5041421f6e Mon Sep 17 00:00:00 2001 From: floppyhammer Date: Wed, 23 Jun 2021 10:20:31 +0800 Subject: [PATCH] Delete a redundant get_texture() line --- renderer/src/gpu/renderer.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/renderer/src/gpu/renderer.rs b/renderer/src/gpu/renderer.rs index 73988f475..c4c837795 100644 --- a/renderer/src/gpu/renderer.rs +++ b/renderer/src/gpu/renderer.rs @@ -1083,7 +1083,6 @@ impl RendererCore where D: Device { let draw_viewport = self.draw_viewport(); let gamma_lut_texture = self.allocator.get_texture(self.gamma_lut_texture_id); - self.allocator.get_texture(self.texture_metadata_texture_id); textures.push((&tile_program.gamma_lut_texture, gamma_lut_texture)); let texture_metadata_texture =