Closed martinlindhe closed 6 years ago
Minor changes to the example in the readme to work out-of-the box in macOS.
Two parts:
1) without the loop (taken from #262), the window will be stuck in background and reported as "program not responding" by macOS.
2) without the surface.FillRect(nil, 0), the window is not properly cleared.
surface.FillRect(nil, 0)
Thanks @martinlindhe!
Minor changes to the example in the readme to work out-of-the box in macOS.
Two parts:
1) without the loop (taken from #262), the window will be stuck in background and reported as "program not responding" by macOS.
2) without the
surface.FillRect(nil, 0)
, the window is not properly cleared.