mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
GPU: Skip depth resize when forcing 1x.
This commit is contained in:
1 parent
2d0252feb8
commit
aff0b46523
1 file changed
+1
-1
@@ -485,7 +485,7 @@ VirtualFramebuffer *FramebufferManagerCommon::DoSetRenderFrameBuffer(Framebuffer
|
||||
|
||||
if (!resized && renderScaleFactor_ != 1 && vfb->renderScaleFactor == 1) {
|
||||
// Might be time to change this framebuffer - have we used depth?
|
||||
if (vfb->usageFlags & FB_USAGE_COLOR_MIXED_DEPTH) {
|
||||
if ((vfb->usageFlags & FB_USAGE_COLOR_MIXED_DEPTH) && !PSP_CoreParameter().compat.flags().ForceLowerResolutionForEffectsOn) {
|
||||
ResizeFramebufFBO(vfb, vfb->width, vfb->height, true);
|
||||
_assert_(vfb->renderScaleFactor != 1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user