SDL: Fix vision os fake screen size

From a057240984a25105e053a5576e2149c05c865da0 Mon Sep 17 00:00:00 2001
From: Giovanni Petrantoni <[EMAIL REDACTED]>
Date: Sun, 7 Jul 2024 11:22:06 +0800
Subject: [PATCH] Fix vision os fake screen size

It never really worked, as the value was arbitrary, digging apple docs showed the right values.
---
 src/video/uikit/SDL_uikitmodes.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/video/uikit/SDL_uikitmodes.h b/src/video/uikit/SDL_uikitmodes.h
index 7fa01d6c3c494..75bb3b831a367 100644
--- a/src/video/uikit/SDL_uikitmodes.h
+++ b/src/video/uikit/SDL_uikitmodes.h
@@ -56,10 +56,12 @@ extern void UIKit_QuitModes(SDL_VideoDevice *_this);
 extern int UIKit_GetDisplayUsableBounds(SDL_VideoDevice *_this, SDL_VideoDisplay *display, SDL_Rect *rect);
 
 // because visionOS does not have a screen
-// we create a fake 1080p display to maintain compatibility.
+// we create a fake display to maintain compatibility.
+// By default, a window measures 1280x720 pt.
+// https://developer.apple.com/design/human-interface-guidelines/windows#visionOS
 #ifdef SDL_PLATFORM_VISIONOS
-#define SDL_XR_SCREENWIDTH 1920
-#define SDL_XR_SCREENHEIGHT 1080
+#define SDL_XR_SCREENWIDTH 1280
+#define SDL_XR_SCREENHEIGHT 720
 #endif
 
 #endif /* SDL_uikitmodes_h_ */