Skip to content

Commit

Permalink
Remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurumaker72 committed Oct 11, 2024
1 parent b28f852 commit 3686a4f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion OpenGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ void OGL_DrawRect(int ulx, int uly, int lrx, int lry, float* color)
glDepthRange(0.0f, 1.0f);

glColor4f(color[0], color[1], color[2], color[3]);
printf("[gln] draw rect %d %d %d %d (z: %d)\n", ulx, uly, lrx, lry, (gDP.otherMode.depthSource == G_ZS_PRIM) ? gDP.primDepth.z : 0.0f);

glBegin(GL_TRIANGLES);
glVertex4f(ulx, uly, (gDP.otherMode.depthSource == G_ZS_PRIM) ? gDP.primDepth.z : 0.0f, 1.0f);
glVertex4f(lrx, uly, (gDP.otherMode.depthSource == G_ZS_PRIM) ? gDP.primDepth.z : 0.0f, 1.0f);
Expand Down
1 change: 0 additions & 1 deletion RSP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ void RSP_ProcessDList()

if (OGL.clear_override)
{
printf("[gln] clearing\n");
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);
}
Expand Down

0 comments on commit 3686a4f

Please sign in to comment.