diff options
Diffstat (limited to 'src/osx')
-rw-r--r-- | src/osx/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osx/mod.rs b/src/osx/mod.rs index fbdedfd..c69486a 100644 --- a/src/osx/mod.rs +++ b/src/osx/mod.rs @@ -400,4 +400,8 @@ impl Window { pub fn platform_display(&self) -> *mut libc::c_void { unimplemented!() } + + pub fn get_api(&self) -> ::Api { + ::Api::OpenGl + } } |