No need to use sampled()

This commit is contained in:
Joonas Javanainen 2016-03-26 18:43:34 +02:00
parent 550b8d1c1c
commit 69e9dd1537

View File

@ -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(),