aboutsummaryrefslogtreecommitdiff
path: root/src/renderer/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/mod.rs')
-rw-r--r--src/renderer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs
index 60362f87..9ce690ca 100644
--- a/src/renderer/mod.rs
+++ b/src/renderer/mod.rs
@@ -588,7 +588,7 @@ impl QuadRenderer {
while let Ok(msg) = self.rx.try_recv() {
match msg {
Msg::ShaderReload => {
- self.reload_shaders(&config, Size {
+ self.reload_shaders(config, Size {
width: Pixels(props.width as u32),
height: Pixels(props.height as u32)
});