From c893e4faec212953174c12c68538d55929c90ad3 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Tue, 18 Nov 2014 17:55:26 +0100 Subject: Add get_api() function --- src/osx/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/osx') 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 + } } -- cgit v1.2.3