mirror of
https://github.com/love2d/love-android.git
synced 2026-08-17 11:11:23 +02:00
fixed love.graphics.push
This commit is contained in:
@@ -1053,7 +1053,7 @@ void Graphics::push()
|
||||
{
|
||||
if (gl.matrices.transform.size() == matrixLimit)
|
||||
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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user