Set the requested window size on visionOS
This commit is contained in:
@@ -234,6 +234,10 @@ bool UIKit_CreateWindow(SDL_VideoDevice *_this, SDL_Window *window, SDL_Properti
|
|||||||
if (!SetupWindowData(_this, window, uiwindow, true)) {
|
if (!SetupWindowData(_this, window, uiwindow, true)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SDL_PLATFORM_VISIONOS
|
||||||
|
SDL_SetWindowSize(window, window->w, window->h);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user