Merge pull request #18022 from hrydgard/screen-scaler-ingame-fix

Android: Fix changing display resolution scale in-game
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2023-08-31 08:45:39 +02:00
commit 3e6788defe
5 files changed
+24 -10

No files matched your search

+2
View File
@@ -2614,6 +2614,8 @@ void FramebufferManagerCommon::NotifyDisplayResized() {
pixelHeight_ = PSP_CoreParameter().pixelHeight;
presentation_->UpdateDisplaySize(pixelWidth_, pixelHeight_);
INFO_LOG(G3D, "FramebufferManagerCommon::NotifyDisplayResized: %dx%d", pixelWidth_, pixelHeight_);
// No drawing is allowed here. This includes anything that might potentially touch a command buffer, like creating images!
// So we need to defer the post processing initialization.
updatePostShaders_ = true;