Commits

vrld  committed 29c84a4

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

  • Participants
  • Parent commits 35fdf42

Comments (0)

Files changed (1)

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

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