diff --git a/aurora/lib/gfx/common.cpp b/aurora/lib/gfx/common.cpp index 0b5fe5a3d..a1483c890 100644 --- a/aurora/lib/gfx/common.cpp +++ b/aurora/lib/gfx/common.cpp @@ -167,11 +167,14 @@ void update_model_view(const zeus::CMatrix4f& mv, const zeus::CMatrix4f& mv_inv) g_mv = mv; g_mvInv = mv_inv; } -constexpr zeus::CMatrix4f DepthCorrect( +constexpr zeus::CMatrix4f DepthCorrect{ + // clang-format off 1.f, 0.f, 0.f, 0.f, 0.f, 1.f, 0.f, 0.f, 0.f, 0.f, 0.5f, 0.5f, - 0.f, 0.f, 0.f, 1.f); + 0.f, 0.f, 0.f, 1.f, + // clang-format on +}; void update_projection(const zeus::CMatrix4f& proj) noexcept { g_proj = DepthCorrect * proj; } void update_fog_state(const metaforce::CFogState& state) noexcept { g_fogState = state; } void set_viewport(const zeus::CRectangle& rect, float znear, float zfar) noexcept {