mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Reimplement platform_window on win32
This commit is contained in:
parent
9462a51f32
commit
7a1a2667b1
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "winit"
|
name = "winit"
|
||||||
version = "0.7.3"
|
version = "0.7.4"
|
||||||
authors = ["The winit contributors, Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
authors = ["The winit contributors, Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
||||||
description = "Cross-platform window creation library."
|
description = "Cross-platform window creation library."
|
||||||
keywords = ["windowing"]
|
keywords = ["windowing"]
|
||||||
|
|
|
@ -157,7 +157,7 @@ impl Window {
|
||||||
}
|
}
|
||||||
// TODO: remove
|
// TODO: remove
|
||||||
pub fn platform_window(&self) -> *mut ::libc::c_void {
|
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.
|
/// Returns the `hwnd` of this window.
|
||||||
|
|
Loading…
Reference in a new issue