Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions impeller/toolkit/egl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ enum class StencilBits {
enum class DepthBits {
kZero = 0,
kEight = 8,
kTwentyFour = 24,
};

enum class SurfaceType {
Expand Down
2 changes: 1 addition & 1 deletion shell/platform/android/android_context_gl_impeller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ AndroidContextGLImpeller::AndroidContextGLImpeller(
impeller::egl::ConfigDescriptor desc;
desc.api = impeller::egl::API::kOpenGLES2;
desc.color_format = impeller::egl::ColorFormat::kRGBA8888;
desc.depth_bits = impeller::egl::DepthBits::kZero;
desc.depth_bits = impeller::egl::DepthBits::kTwentyFour;
desc.stencil_bits = impeller::egl::StencilBits::kEight;
desc.samples = impeller::egl::Samples::kFour;

Expand Down