LibGL: Remove glPush/PopMatrix debug spam

Even behind the `GL_DEBUG` macro this was too noisy.
This commit is contained in:
Jelle Raaijmakers 2021-12-30 00:29:49 +01:00 committed by Andreas Kling
parent 3a5f69b6f3
commit f2d8fcb830

View file

@ -436,8 +436,6 @@ void SoftwareGLContext::gl_push_matrix()
RETURN_WITH_ERROR_IF(m_in_draw_state, GL_INVALID_OPERATION);
dbgln_if(GL_DEBUG, "glPushMatrix(): Pushing matrix to the matrix stack (matrix_mode {})", m_current_matrix_mode);
switch (m_current_matrix_mode) {
case GL_PROJECTION:
RETURN_WITH_ERROR_IF(m_projection_matrix_stack.size() >= PROJECTION_MATRIX_STACK_LIMIT, GL_STACK_OVERFLOW);
@ -462,8 +460,6 @@ void SoftwareGLContext::gl_pop_matrix()
RETURN_WITH_ERROR_IF(m_in_draw_state, GL_INVALID_OPERATION);
dbgln_if(GL_DEBUG, "glPopMatrix(): Popping matrix from matrix stack (matrix_mode = {})", m_current_matrix_mode);
switch (m_current_matrix_mode) {
case GL_PROJECTION:
RETURN_WITH_ERROR_IF(m_projection_matrix_stack.size() == 0, GL_STACK_UNDERFLOW);