1. James Chen
  2. love

Commits

Matthias Richter  committed 29c84a4

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

  • Participants
  • Parent commits 35fdf42
  • Branches default

Comments (0)

Files changed (1)

File src/modules/graphics/opengl/Graphics.cpp

View file
  • Ignore whitespace
 void Graphics::push()
 {
 	if (userMatrices == matrixLimit)
-		throw Exception("Maximum stack depth reached.");
+		throw Exception("Maximum stack depth reached. (More pushes than pops?)");
 	glPushMatrix();
 	++userMatrices;
 }