Add missing glClearColor(0,0,0,1);
This commit is contained in:
parent
cee27a9db6
commit
b1db09b84f
1 changed files with 1 additions and 0 deletions
|
@ -384,6 +384,7 @@ void FramebufferManager::SetRenderFrameBuffer() {
|
||||||
{
|
{
|
||||||
glstate.depthWrite.set(GL_TRUE);
|
glstate.depthWrite.set(GL_TRUE);
|
||||||
glstate.colorMask.set(GL_TRUE, GL_TRUE, GL_TRUE, 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);
|
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue