diff --git a/gfx_es2/fbo.cpp b/gfx_es2/fbo.cpp index 909b5aab12..9f650d6ce5 100644 --- a/gfx_es2/fbo.cpp +++ b/gfx_es2/fbo.cpp @@ -278,6 +278,9 @@ void fbo_bind_as_render_target(FBO *fbo) { glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbo->handle); #endif } + if (gl_extensions.gpuVendor != GPU_VENDOR_POWERVR) { + glstate.viewport.restore(); + } } void fbo_bind_for_read(FBO *fbo) {