Close issue #519: Maximum stack depth reached error message.

This commit is contained in:
vrld
2012-11-23 09:08:36 +01:00
parent c782093374
commit 6882c2c32c
+1 -1
View File
@@ -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;
}