Metal layer depth range support (#2013)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
This commit is contained in:
@@ -133,6 +133,7 @@ StencilOp::Type StencilOp::Get() {
|
||||
Enum<gfx::StencilOpType>::from(dppass)};
|
||||
}
|
||||
|
||||
#if MLN_RENDER_BACKEND_OPENGL
|
||||
const constexpr DepthRange::Type DepthRange::Default;
|
||||
|
||||
void DepthRange::Set(const Type& value) {
|
||||
@@ -144,6 +145,7 @@ DepthRange::Type DepthRange::Get() {
|
||||
MBGL_CHECK_ERROR(glGetFloatv(GL_DEPTH_RANGE, floats));
|
||||
return {floats[0], floats[1]};
|
||||
}
|
||||
#endif
|
||||
|
||||
const constexpr DepthTest::Type DepthTest::Default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user