From eaa0440e8c3cc596dcae8791927e49994be20dda Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Fri, 11 Aug 2017 12:49:06 +0200 Subject: [PATCH] Another linux fix --- src/os/unix/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/unix/mod.rs b/src/os/unix/mod.rs index c87ce1d..0e2f492 100644 --- a/src/os/unix/mod.rs +++ b/src/os/unix/mod.rs @@ -238,7 +238,7 @@ impl Window { let check_res = buffer_helper::check_buffer_size(self.shared_data.width as usize, self.shared_data.height as usize, - self.scale_factor as usize, + self.scale as usize, buffer); if check_res.is_err() { return check_res;