iOS: fix the desktop display mode's display scale property.

This commit is contained in:
Sasha Szpakowski authored and Sam Lantinga committed 2023-01-29 11:11:46 -08:00
1 parent a67b441a10
commit 0d0a34f79f
1 file changed
+1 -1
+1 -1
View File
@@ -339,7 +339,7 @@ int UIKit_AddDisplay(UIScreen *uiscreen, SDL_bool send_event)
SDL_zero(mode);
mode.pixel_w = (int)size.width;
mode.pixel_h = (int)size.height;
mode.display_scale = uiscreen.scale;
mode.display_scale = uiscreen.nativeScale;
mode.format = SDL_PIXELFORMAT_ABGR8888;
mode.refresh_rate = UIKit_GetDisplayModeRefreshRate(uiscreen);