mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Symbian buildfix
This commit is contained in:
1 parent
43a93f086d
commit
ad951bc0d4
1 file changed
+3
@@ -876,11 +876,14 @@ void FramebufferManager::SetRenderFrameBuffer() {
|
||||
#else
|
||||
if (doDepthCopy && gl_extensions.GLES3) {
|
||||
#endif
|
||||
|
||||
#ifdef MAY_HAVE_GLES3
|
||||
// Let's only do this if not clearing.
|
||||
if (!gstate.isModeClear() || !gstate.isClearModeDepthMask()) {
|
||||
fbo_bind_for_read(currentRenderVfb_->fbo);
|
||||
glBlitFramebuffer(0, 0, currentRenderVfb_->renderWidth, currentRenderVfb_->renderHeight, 0, 0, vfb->renderWidth, vfb->renderHeight, GL_DEPTH_BUFFER_BIT, GL_NEAREST);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
currentRenderVfb_ = vfb;
|
||||
|
||||
Reference in new issue
Block a user