Fix black screen when fbo set in first frame.

Because BeginFrame() is actually only called after the first frame.
This commit is contained in:
Unknown W. Brackets committed 2013-04-27 15:46:10 -07:00
1 parent 7012efee1f
commit 9427f352c3
1 file changed
+1
+1
View File
@@ -133,6 +133,7 @@ FramebufferManager::FramebufferManager() :
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
convBuf = new u8[480 * 272 * 4];
useBufferedRendering_ = g_Config.bBufferedRendering;
}
FramebufferManager::~FramebufferManager() {