I am running the examples on MacOS Mojave and the window never appears even though the app icon shows the app is running in the task bar. If I call
sdl.PollEvent() or sdl.PumpEvents() just before the sdl.Delay(2000) line, then the window displays just fine. This happens for all of the examples that do not use an event loop.
I am running the examples on MacOS Mojave and the window never appears even though the app icon shows the app is running in the task bar. If I call
sdl.PollEvent()
orsdl.PumpEvents()
just before thesdl.Delay(2000)
line, then the window displays just fine. This happens for all of the examples that do not use an event loop.