Browse Source

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

vrld 12 years ago
parent
commit
6882c2c32c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/opengl/Graphics.cpp

+ 1 - 1
src/modules/graphics/opengl/Graphics.cpp

@@ -1098,7 +1098,7 @@ love::image::ImageData *Graphics::newScreenshot(love::image::Image *image)
 void Graphics::push()
 void Graphics::push()
 {
 {
 	if (userMatrices == matrixLimit)
 	if (userMatrices == matrixLimit)
-		throw Exception("Maximum stack depth reached.");
+		throw Exception("Maximum stack depth reached. (More pushes than pops?)");
 	glPushMatrix();
 	glPushMatrix();
 	++userMatrices;
 	++userMatrices;
 }
 }