Add missing glClearColor(0,0,0,1);

This commit is contained in:
raven02 committed 2013-02-24 02:17:16 +08:00
1 parent cee27a9db6
commit b1db09b84f
1 file changed
+1
+1
View File
@@ -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