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/android/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/android/mod.rs') diff --git a/src/android/mod.rs b/src/android/mod.rs index cdd5293..8093d50 100644 --- a/src/android/mod.rs +++ b/src/android/mod.rs @@ -265,6 +265,10 @@ impl Window { pub fn platform_display(&self) -> *mut libc::c_void { self.display as *mut libc::c_void } + + pub fn get_api(&self) -> ::Api { + ::Api::OpenGlEs + } } #[unsafe_destructor] -- cgit v1.2.3