diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-01-15 09:04:03 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-01-15 09:04:03 +0100 |
commit | 22a27767d543a3b00a2b4f50b3ef92ebb8b82409 (patch) | |
tree | 347e274288eb65bd2a3c0cefe0d74f20dcd2582c /src/android | |
parent | e3943945c75465fa813ea8eb75d56cf55b2c092e (diff) | |
parent | 5a589b1783d1502518efebea087dbfd7c9a6138b (diff) | |
download | glutin-22a27767d543a3b00a2b4f50b3ef92ebb8b82409.tar.gz glutin-22a27767d543a3b00a2b4f50b3ef92ebb8b82409.zip |
Merge pull request #200 from ozkriff/master
android: Fixed depth buffer
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/mod.rs | 1 |
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(); |