mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 11:21:30 +11:00
small fixes and update (#277)
This commit is contained in:
parent
032d616bbe
commit
4962afd3f5
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "minifb"
|
||||
version = "0.20.0"
|
||||
license = "MIT/Apache-2.0"
|
||||
license = "MIT OR Apache-2.0"
|
||||
authors = ["Daniel Collin <daniel@collin.com>"]
|
||||
description = "Cross-platform window setup with optional bitmap rendering"
|
||||
keywords = ["windowing", "window", "framebuffer"]
|
||||
|
@ -46,7 +46,7 @@ wayland = ["wayland-client", "wayland-protocols", "wayland-cursor", "tempfile",
|
|||
wayland-client = {version = "0.29", optional = true}
|
||||
wayland-protocols = { version = "0.29", features = ["client", "unstable_protocols"], optional = true }
|
||||
wayland-cursor = {version = "0.29", optional = true}
|
||||
tempfile = {version = "3.2", optional = true}
|
||||
tempfile = {version = "3.3", optional = true}
|
||||
xkb = {version = "0.2.1", optional = true}
|
||||
xkbcommon-sys = {version = "0.7.5", optional = true}
|
||||
x11-dl = {version = "2.19.1", optional = true}
|
||||
|
|
|
@ -648,11 +648,8 @@ impl Window {
|
|||
}
|
||||
|
||||
pub fn get_position(&self) -> (isize, isize) {
|
||||
let (mut x, mut y) = (0, 0);
|
||||
|
||||
unsafe {
|
||||
// todo!("get_position");
|
||||
}
|
||||
let (x, y) = (0, 0);
|
||||
// todo!("get_position");
|
||||
|
||||
(x as isize, y as isize)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue