Merge branch '12.0-development' into metal

This commit is contained in:
Alex Szpakowski
2022-01-12 18:23:23 -04:00
8 changed files with 227 additions and 22 deletions
+1 -1
View File
@@ -969,7 +969,7 @@ void Shader::updateBuiltinUniforms(love::graphics::Graphics *gfx, int viewportW,
BuiltinUniformData data;
data.transformMatrix = gfx->getTransform();
data.projectionMatrix = gfx->getProjection();
data.projectionMatrix = gfx->getDeviceProjection();
// The normal matrix is the transpose of the inverse of the rotation portion
// (top-left 3x3) of the transform matrix.