mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
LibGL: Remove glPush/PopMatrix
debug spam
Even behind the `GL_DEBUG` macro this was too noisy.
This commit is contained in:
parent
3a5f69b6f3
commit
f2d8fcb830
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue