diff --git a/Cargo.toml b/Cargo.toml index e33993b4..3a7bb419 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.7.3" +version = "0.7.4" authors = ["The winit contributors, Pierre Krieger "] description = "Cross-platform window creation library." keywords = ["windowing"] diff --git a/src/platform/windows/window.rs b/src/platform/windows/window.rs index 250b773c..d0f1189b 100644 --- a/src/platform/windows/window.rs +++ b/src/platform/windows/window.rs @@ -157,7 +157,7 @@ impl Window { } // TODO: remove pub fn platform_window(&self) -> *mut ::libc::c_void { - panic!() // Deprecated function ; we don't care anymore + self.window.0 as *mut ::libc::c_void } /// Returns the `hwnd` of this window.