mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Update bounds in NativeResized as well to fix glitches on layout screens that use it.
This commit is contained in:
1 parent
a931f1c133
commit
f06f9f7246
1 file changed
+4
@@ -1100,6 +1100,10 @@ void NativeResized() {
|
||||
// NativeResized can come from any thread so we just set a flag, then process it later.
|
||||
if (g_graphicsInited) {
|
||||
resized = true;
|
||||
if (uiContext) {
|
||||
// Still have to update bounds to avoid problems in display layout and touch controls layout screens
|
||||
uiContext->SetBounds(Bounds(0, 0, dp_xres, dp_yres));
|
||||
}
|
||||
} else {
|
||||
ILOG("NativeResized ignored, not initialized");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user