rename love.graphics.setCustomProjection to setProjection.

This commit is contained in:
Sasha Szpakowski
2024-03-31 21:12:01 -03:00
parent 44a6a81641
commit b48d81d976
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -888,7 +888,7 @@ void Graphics::restoreStateChecked(const DisplayState &s)
setDefaultSamplerState(s.defaultSamplerState);
if (s.useCustomProjection)
setCustomProjection(s.customProjection);
setProjection(s.customProjection);
else if (cur.useCustomProjection)
resetProjection();
}
@@ -2802,7 +2802,7 @@ Vector2 Graphics::inverseTransformPoint(Vector2 point)
return p;
}
void Graphics::setCustomProjection(const Matrix4 &m)
void Graphics::setProjection(const Matrix4 &m)
{
flushBatchedDraws();