Use the paint texture uniform belonging to the appropriate program
This commit is contained in:
parent
f607b607b0
commit
468848086a
|
@ -871,8 +871,7 @@ where
|
||||||
self.device.set_texture_sampling_mode(paint_texture, sampling_flags);
|
self.device.set_texture_sampling_mode(paint_texture, sampling_flags);
|
||||||
|
|
||||||
textures.push(paint_texture);
|
textures.push(paint_texture);
|
||||||
uniforms.push((&self.alpha_tile_program.paint_texture_uniform,
|
uniforms.push((&alpha_tile_program.paint_texture_uniform, UniformData::TextureUnit(1)));
|
||||||
UniformData::TextureUnit(1)));
|
|
||||||
|
|
||||||
match blend_mode_program {
|
match blend_mode_program {
|
||||||
BlendModeProgram::Regular => {}
|
BlendModeProgram::Regular => {}
|
||||||
|
|
Loading…
Reference in New Issue