From 5d70e6fc5c9ce05c791d686bb86560b720500af8 Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Fri, 11 Aug 2017 12:51:04 +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 0e2f492..2cfc753 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 as usize, + self.shared_data.scale as usize, buffer); if check_res.is_err() { return check_res;