Use the paint texture uniform belonging to the appropriate program

This commit is contained in:
Patrick Walton 2020-03-03 10:56:32 -08:00
parent f607b607b0
commit 468848086a
1 changed files with 1 additions and 2 deletions

View File

@ -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 => {}