mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 06:41:31 +11:00
win32: remove unimplemented!() from platform_display()
This commit is contained in:
parent
059821a99c
commit
6ece84f5c0
|
@ -215,7 +215,10 @@ impl Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn platform_display(&self) -> *mut libc::c_void {
|
pub fn platform_display(&self) -> *mut libc::c_void {
|
||||||
unimplemented!()
|
// What should this return on win32?
|
||||||
|
// It could be GetDC(NULL), but that requires a ReleaseDC()
|
||||||
|
// to avoid leaking the DC.
|
||||||
|
ptr::null_mut()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn platform_window(&self) -> *mut libc::c_void {
|
pub fn platform_window(&self) -> *mut libc::c_void {
|
||||||
|
|
Loading…
Reference in a new issue