summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/SoftwareGLContext.cpp
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-12-30 00:29:49 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-30 14:24:29 +0100
commitf2d8fcb8308773809b1c15cc42976d739504e7cc (patch)
tree94a83f862623e86fb5835b11451ed47ff84f9634 /Userland/Libraries/LibGL/SoftwareGLContext.cpp
parent3a5f69b6f387464f4e9d625fc8a05e98eccaf80e (diff)
downloadserenity-f2d8fcb8308773809b1c15cc42976d739504e7cc.zip
LibGL: Remove `glPush/PopMatrix` debug spam
Even behind the `GL_DEBUG` macro this was too noisy.
Diffstat (limited to 'Userland/Libraries/LibGL/SoftwareGLContext.cpp')
-rw-r--r--Userland/Libraries/LibGL/SoftwareGLContext.cpp4
1 files changed, 0 insertions, 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);