aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrey Lesnikov <ozkriff@gmail.com>2015-01-15 10:05:19 +0300
committerAndrey Lesnikov <ozkriff@gmail.com>2015-01-15 10:05:19 +0300
commit5a589b1783d1502518efebea087dbfd7c9a6138b (patch)
tree347e274288eb65bd2a3c0cefe0d74f20dcd2582c /src
parente3943945c75465fa813ea8eb75d56cf55b2c092e (diff)
downloadglutin-5a589b1783d1502518efebea087dbfd7c9a6138b.tar.gz
glutin-5a589b1783d1502518efebea087dbfd7c9a6138b.zip
android: Fixed depth buffer
Diffstat (limited to 'src')
-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();