From b1db09b84fbedb69fee12112a32b4555c960fe29 Mon Sep 17 00:00:00 2001 From: raven02 Date: Sun, 24 Feb 2013 02:17:16 +0800 Subject: [PATCH] Add missing glClearColor(0,0,0,1); --- GPU/GLES/Framebuffer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GPU/GLES/Framebuffer.cpp b/GPU/GLES/Framebuffer.cpp index 12c78238d4..4ed482d1c1 100644 --- a/GPU/GLES/Framebuffer.cpp +++ b/GPU/GLES/Framebuffer.cpp @@ -384,6 +384,7 @@ void FramebufferManager::SetRenderFrameBuffer() { { glstate.depthWrite.set(GL_TRUE); glstate.colorMask.set(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); + glClearColor(0,0,0,1); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); } #endif