From 468848086a29de2a772c4f882ee2f0c69df2c099 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 3 Mar 2020 10:56:32 -0800 Subject: [PATCH] Use the paint texture uniform belonging to the appropriate program --- renderer/src/gpu/renderer.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/renderer/src/gpu/renderer.rs b/renderer/src/gpu/renderer.rs index 62941149..02c86885 100644 --- a/renderer/src/gpu/renderer.rs +++ b/renderer/src/gpu/renderer.rs @@ -871,8 +871,7 @@ where self.device.set_texture_sampling_mode(paint_texture, sampling_flags); textures.push(paint_texture); - uniforms.push((&self.alpha_tile_program.paint_texture_uniform, - UniformData::TextureUnit(1))); + uniforms.push((&alpha_tile_program.paint_texture_uniform, UniformData::TextureUnit(1))); match blend_mode_program { BlendModeProgram::Regular => {}