mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-19 20:34:26 +01:00
Restore viewport natively in fbo_bind_as_render_target()
This commit is contained in:
1 parent
551564b2ea
commit
29193f0f2a
1 file changed
+3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user