diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2014-11-18 17:55:26 +0100 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2014-12-07 13:52:08 +0100 |
commit | c893e4faec212953174c12c68538d55929c90ad3 (patch) | |
tree | bb5ed569b0f5042c00e1c454452fdc9e108cd424 /src/osx | |
parent | 2320c2bc974fcc655553e678c457230f3e97de68 (diff) | |
download | glutin-c893e4faec212953174c12c68538d55929c90ad3.tar.gz glutin-c893e4faec212953174c12c68538d55929c90ad3.zip |
Add get_api() function
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 + } } |