mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Close issue #519: Maximum stack depth reached error message.
This commit is contained in:
@@ -1098,7 +1098,7 @@ love::image::ImageData *Graphics::newScreenshot(love::image::Image *image)
|
||||
void Graphics::push()
|
||||
{
|
||||
if (userMatrices == matrixLimit)
|
||||
throw Exception("Maximum stack depth reached.");
|
||||
throw Exception("Maximum stack depth reached. (More pushes than pops?)");
|
||||
glPushMatrix();
|
||||
++userMatrices;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user