mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2025-01-10 02:51:32 +11:00
Fixed warning
This commit is contained in:
parent
4087f3c4c3
commit
76d9351dc2
|
@ -282,7 +282,6 @@ impl Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_unscaled_mouse_pos(&self, mode: MouseMode) -> Option<(f32, f32)> {
|
pub fn get_unscaled_mouse_pos(&self, mode: MouseMode) -> Option<(f32, f32)> {
|
||||||
let s = self.shared_data.scale as f32;
|
|
||||||
let w = self.shared_data.width as f32;
|
let w = self.shared_data.width as f32;
|
||||||
let h = self.shared_data.height as f32;
|
let h = self.shared_data.height as f32;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue