From 0ec60a388116b7c445fab7f22e99bd6f7127eb3f Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Sun, 9 Nov 2014 00:02:50 +0600 Subject: [PATCH] Fix typo in DepthBufferList::clearBuffer(). --- DepthBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DepthBuffer.cpp b/DepthBuffer.cpp index f37fc8ec..a572098c 100644 --- a/DepthBuffer.cpp +++ b/DepthBuffer.cpp @@ -169,7 +169,7 @@ void DepthBufferList::clearBuffer() glBindImageTexture(depthImageUnit, 0, 0, GL_FALSE, 0, GL_READ_WRITE, GL_RGBA32F); glBindFramebuffer(GL_DRAW_FRAMEBUFFER, m_pCurrent->m_FBO); const u32 cycleType = gDP.otherMode.cycleType; - gDP.otherMode.cycleType == G_CYC_FILL; + gDP.otherMode.cycleType = G_CYC_FILL; video().getRender().drawRect(0,0,VI.width, VI.height, color); gDP.otherMode.cycleType = cycleType; glBindImageTexture(depthImageUnit, m_pCurrent->m_pDepthTexture->glName, 0, GL_FALSE, 0, GL_READ_WRITE, GL_RGBA32F);