Adjust metal reference output

Y flipping is now off by default.
This commit is contained in:
Robert Konrad 2017-01-26 10:32:50 +01:00
parent bbc1e0c0cc
commit 7b3d0686ef

View File

@ -26,7 +26,6 @@ vertex main0_out main0(main0_in in [[stage_in]], constant UBO& _16 [[buffer(0)]]
main0_out out = {};
out.gl_Position = _16.uMVP * in.aVertex;
out.vNormal = in.aNormal;
out.gl_Position.y = -(out.gl_Position.y); // Invert Y-axis for Metal
return out;
}