aboutsummaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
Diffstat (limited to 'src/android')
-rw-r--r--src/android/mod.rs4
1 files changed, 4 insertions, 0 deletions
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]