mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 23:10:33 +02:00
Now that density is in configChanges, a density change no longer recreates the activity - but it also doesn't resize the surface, so no surfaceChanged follows it. The DPI is only recalculated in backbufferResize, so the UI kept the old scale until the next real resize or a trip through the background. Re-report the surface we already have when the density has moved. The native side needs no change: Recalculate() already returns true when the dp size changes, which a density change does on its own. Also make the log line say which size changed, since the pixel size now stays put in this case. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01152igCdjTNhT29qvphPyPC