Set the requested window size on visionOS

This commit is contained in:
Sam Lantinga committed 2025-11-18 11:06:10 -08:00
1 parent 47360a9a46
commit 908216bbae
1 file changed
+4
+4
View File
@@ -234,6 +234,10 @@ bool UIKit_CreateWindow(SDL_VideoDevice *_this, SDL_Window *window, SDL_Properti
if (!SetupWindowData(_this, window, uiwindow, true)) {
return false;
}
#ifdef SDL_PLATFORM_VISIONOS
SDL_SetWindowSize(window, window->w, window->h);
#endif
}
return true;