Closed thp closed 3 years ago
I don't consider the SDL_HideWindow call to be essential - it is just there to avoid having the window show up briefly with its initial dimensions, just to be immediately resized to dimensions set by the user code. But it is a minor cosmetic details, so I'd be fine with commenting out SDL_HideWindow for a fix
I haven't tested if it works (but assume it should), but you can pass in SDL_WINDOW_HIDDEN
as a flag to SDL_CreateWindow()
instead of creating it visible first and then immediately hiding it.
That sounds great, yes, will do that
Hopefully this should be fixed now, so closing the issue for now
This crashes on Linux for me (using a Xorg session, not Wayland), the issue seems unrelated to #2:
Commenting out
SDL_HideWindow( app->window );
indos.h
fixed the issue for me, but not sure if it's a reasonable fix.