Always specify all buffers for clearing. Missing one hurst, one extra doesn't.

This commit is contained in:
Henrik Rydgard committed 2013-01-14 20:44:10 +01:00
1 parent 0a374047b1
commit 85afa9c036
3 files changed
+5 -6

No files matched your search

+2 -2
View File
@@ -72,8 +72,8 @@ FramebufferManager::FramebufferManager() {
// And an initial clear. We don't clear per frame as the games are supposed to handle that
// by themselves.
glClearColor(0, 0, 0, 0);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
convBuf = new u8[480 * 272 * 4];
}