mirror of
https://github.com/love2d/love-android.git
synced 2026-08-17 19:24:07 +02:00
fixed love.graphics.push
This commit is contained in:
@@ -1053,7 +1053,7 @@ void Graphics::push()
|
|||||||
{
|
{
|
||||||
if (gl.matrices.transform.size() == matrixLimit)
|
if (gl.matrices.transform.size() == matrixLimit)
|
||||||
throw Exception("Maximum stack depth reached. (More pushes than pops?)");
|
throw Exception("Maximum stack depth reached. (More pushes than pops?)");
|
||||||
gl.matrices.transform.push(Matrix());
|
gl.matrices.transform.push(gl.matrices.transform.top());
|
||||||
pixel_size_stack.push_back(pixel_size_stack.back());
|
pixel_size_stack.push_back(pixel_size_stack.back());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user