diff --git a/Runtime/Graphics/CGraphics.cpp b/Runtime/Graphics/CGraphics.cpp index 2541fc324..e57cc53b6 100644 --- a/Runtime/Graphics/CGraphics.cpp +++ b/Runtime/Graphics/CGraphics.cpp @@ -171,6 +171,7 @@ zeus::CMatrix4f CGraphics::CalculatePerspectiveMatrix(float fovy, float aspect, } case boo::IGraphicsDataFactory::Platform::D3D11: case boo::IGraphicsDataFactory::Platform::D3D12: + case boo::IGraphicsDataFactory::Platform::Metal: { zeus::CMatrix4f mat2(2.f * st.x14_near / rml, 0.f, rpl / rml, 0.f, 0.f, 2.f * st.x14_near / tmb, tpb / tmb, 0.f, @@ -215,6 +216,7 @@ zeus::CMatrix4f CGraphics::GetPerspectiveProjectionMatrix(bool forRenderer) } case boo::IGraphicsDataFactory::Platform::D3D11: case boo::IGraphicsDataFactory::Platform::D3D12: + case boo::IGraphicsDataFactory::Platform::Metal: { zeus::CMatrix4f mat2(2.f * g_Proj.x14_near / rml, 0.f, rpl / rml, 0.f, 0.f, 2.f * g_Proj.x14_near / tmb, tpb / tmb, 0.f, diff --git a/hecl b/hecl index 1c8c83be4..2df66c109 160000 --- a/hecl +++ b/hecl @@ -1 +1 @@ -Subproject commit 1c8c83be453ab713275cfdb2c62beae7e007803d +Subproject commit 2df66c1095c0673fd9489b5f45fd2d96c16ef848