SDL2 can not show window in Ubuntu 22.04

You are not polling for events (if only SDL_QuitEvent). On some platforms that is necessary for the window to appear.

1 Like