mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-12 05:31:31 +11:00
Merge pull request #200 from ozkriff/master
android: Fixed depth buffer
This commit is contained in:
commit
22a27767d5
|
@ -120,6 +120,7 @@ impl Window {
|
||||||
attribute_list.push_all(&[ffi::egl::RED_SIZE as i32, 1]);
|
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::GREEN_SIZE as i32, 1]);
|
||||||
attribute_list.push_all(&[ffi::egl::BLUE_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);
|
attribute_list.push(ffi::egl::NONE as i32);
|
||||||
|
|
||||||
let mut num_config: ffi::egl::types::EGLint = mem::uninitialized();
|
let mut num_config: ffi::egl::types::EGLint = mem::uninitialized();
|
||||||
|
|
Loading…
Reference in a new issue