mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Merge pull request #13 from pnkfelix/fsk-fix-osx-dummy-impl
Fix bugs in OS X dummy impl
This commit is contained in:
commit
752c721ae1
|
@ -23,8 +23,10 @@ pub use events::*;
|
|||
|
||||
#[cfg(windows)]
|
||||
use winimpl = win32;
|
||||
#[cfg(unix)]
|
||||
#[cfg(target_os = "linux")]
|
||||
use winimpl = x11;
|
||||
#[cfg(target_os = "macos")]
|
||||
use winimpl = osx;
|
||||
|
||||
#[cfg(target_os = "win32")]
|
||||
mod win32;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! Dummy implementation for OS/X to make gl-init-rs compile on this platform
|
||||
|
||||
use WindowBuilder;
|
||||
use {Event, WindowBuilder};
|
||||
|
||||
pub struct Window;
|
||||
|
||||
|
|
Loading…
Reference in a new issue