Reset blend color to (0,0,0,0) at the start of render subpass

This commit is contained in:
Austin Eng
2017-08-04 11:11:26 -04:00
committed by Austin Eng
parent cce6b01b6d
commit 12a00ba3d1
3 changed files with 140 additions and 1 deletions

View File

@@ -148,6 +148,8 @@ namespace opengl {
glClearDepth(1.0);
glClear(GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
}
glBlendColor(0, 0, 0, 0);
}
break;