From f2d8fcb8308773809b1c15cc42976d739504e7cc Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Thu, 30 Dec 2021 00:29:49 +0100 Subject: [PATCH] LibGL: Remove `glPush/PopMatrix` debug spam Even behind the `GL_DEBUG` macro this was too noisy. --- Userland/Libraries/LibGL/SoftwareGLContext.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Userland/Libraries/LibGL/SoftwareGLContext.cpp b/Userland/Libraries/LibGL/SoftwareGLContext.cpp index 2e32999aaf..bff6046ea4 100644 --- a/Userland/Libraries/LibGL/SoftwareGLContext.cpp +++ b/Userland/Libraries/LibGL/SoftwareGLContext.cpp @@ -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);