Another linux fix

This commit is contained in:
Daniel Collin 2017-08-11 12:51:04 +02:00
parent eaa0440e8c
commit 5d70e6fc5c

View file

@ -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;