aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-01-15 09:04:03 +0100
committertomaka <pierre.krieger1708@gmail.com>2015-01-15 09:04:03 +0100
commit22a27767d543a3b00a2b4f50b3ef92ebb8b82409 (patch)
tree347e274288eb65bd2a3c0cefe0d74f20dcd2582c /src
parente3943945c75465fa813ea8eb75d56cf55b2c092e (diff)
parent5a589b1783d1502518efebea087dbfd7c9a6138b (diff)
downloadglutin-22a27767d543a3b00a2b4f50b3ef92ebb8b82409.tar.gz
glutin-22a27767d543a3b00a2b4f50b3ef92ebb8b82409.zip
Merge pull request #200 from ozkriff/master
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();