Another linux fix

This commit is contained in:
Daniel Collin 2017-08-11 12:49:06 +02:00
parent ca264a7b9a
commit eaa0440e8c

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_factor as usize,
self.scale as usize,
buffer);
if check_res.is_err() {
return check_res;