The Wiki says that “The SDL_Window is implicitly shown if SDL_WINDOW_HIDDEN is not set”. Does this mean I can just start passing NULL for flags if all I usually pass is SDL_WINDOW_SHOWN? I’m still new to SDL2 and trying to learn the more common ways of doing some of the more basic tasks.
The Wiki says that “The SDL_Window is implicitly shown if SDL_WINDOW_HIDDEN is not set”. Does this mean I can just start passing NULL for flags if all I usually pass is SDL_WINDOW_SHOWN? I’m still new to SDL2 and trying to learn the more common ways of doing some of the more basic tasks.
Trial and error, try code out and compile before posting to see if something works how you expect it to work.
I did “trial and error” and I’m not asking why my code isn’t working. I’m asking about code usage. Maybe you didn’t understand that before telling me to “Trial and error before posting”