From 5a589b1783d1502518efebea087dbfd7c9a6138b Mon Sep 17 00:00:00 2001 From: Andrey Lesnikov Date: Thu, 15 Jan 2015 10:05:19 +0300 Subject: android: Fixed depth buffer --- src/android/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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(); -- cgit v1.2.3