mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-15 07:28:28 +00:00
Fix uniform texture naming
The shaders refer to the texture with name "tex", and the name must match on the Rust code side. Fixes #17
This commit is contained in:
parent
5a5bbcc443
commit
550b8d1c1c
@ -99,7 +99,7 @@ impl Renderer {
|
||||
];
|
||||
let uniforms = uniform! {
|
||||
matrix: matrix,
|
||||
texture: self.device_objects.texture.sampled()
|
||||
tex: self.device_objects.texture.sampled()
|
||||
};
|
||||
let draw_params = DrawParameters {
|
||||
blend: Blend::alpha_blending(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user