mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-15 23:48:31 +00:00
No need to use sampled()
This commit is contained in:
parent
550b8d1c1c
commit
69e9dd1537
@ -99,7 +99,7 @@ impl Renderer {
|
||||
];
|
||||
let uniforms = uniform! {
|
||||
matrix: matrix,
|
||||
tex: self.device_objects.texture.sampled()
|
||||
tex: &self.device_objects.texture
|
||||
};
|
||||
let draw_params = DrawParameters {
|
||||
blend: Blend::alpha_blending(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user