From 6882c2c32c45623c3bb0aae24362531d5c3c2993 Mon Sep 17 00:00:00 2001 From: vrld Date: Fri, 23 Nov 2012 09:08:36 +0100 Subject: [PATCH] Close issue #519: Maximum stack depth reached error message. --- src/modules/graphics/opengl/Graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index ce49a78d8..e500d87ab 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -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; }