mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2025-01-10 02:51:32 +11:00
Another linux fix
This commit is contained in:
parent
ca264a7b9a
commit
eaa0440e8c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue