From bb4c572c8850903bf685575129cac1a38ef0c3fe Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Tue, 26 Apr 2016 15:11:26 +0600 Subject: [PATCH] Code cleanup: remove debug code from gDPFillRDRAM. --- src/gDP.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gDP.cpp b/src/gDP.cpp index 625f4a42..01643f88 100644 --- a/src/gDP.cpp +++ b/src/gDP.cpp @@ -716,11 +716,8 @@ void gDPSetScissor( u32 mode, f32 ulx, f32 uly, f32 lrx, f32 lry ) #endif } -const bool g_bDepthClearOnly = false; void gDPFillRDRAM(u32 address, s32 ulx, s32 uly, s32 lrx, s32 lry, u32 width, u32 size, u32 color, bool scissor) { - if (g_bDepthClearOnly && color != DepthClearColor) - return; FrameBuffer * pCurrentBuffer = frameBufferList().getCurrent(); if (pCurrentBuffer != NULL) { pCurrentBuffer->m_cleared = true;