aboutsummaryrefslogtreecommitdiffstats
path: root/src/android/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/mod.rs')
-rw-r--r--src/android/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/android/mod.rs b/src/android/mod.rs
index f501420..6987f52 100644
--- a/src/android/mod.rs
+++ b/src/android/mod.rs
@@ -120,6 +120,7 @@ impl Window {
attribute_list.push_all(&[ffi::egl::RED_SIZE as i32, 1]);
attribute_list.push_all(&[ffi::egl::GREEN_SIZE as i32, 1]);
attribute_list.push_all(&[ffi::egl::BLUE_SIZE as i32, 1]);
+ attribute_list.push_all(&[ffi::egl::DEPTH_SIZE as i32, 1]);
attribute_list.push(ffi::egl::NONE as i32);
let mut num_config: ffi::egl::types::EGLint = mem::uninitialized();