mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Renamed the internal 'Matrix' class to 'Matrix4'.
This commit is contained in:
@@ -230,7 +230,7 @@ void Graphics::setViewportSize(int width, int height)
|
||||
Canvas::systemViewport = gl.getViewport();
|
||||
|
||||
// Set up the projection matrix
|
||||
gl.matrices.projection.back() = Matrix::ortho(0.0, (float) width, (float) height, 0.0);
|
||||
gl.matrices.projection.back() = Matrix4::ortho(0.0, (float) width, (float) height, 0.0);
|
||||
|
||||
// Restore the previously active Canvas.
|
||||
setCanvas(canvases);
|
||||
|
||||
Reference in New Issue
Block a user