I forked your code repository and got it working on my M1. I had to edit some things in the veandco library as well as yours:
- Used `brew install` to get all the sdl2_ libraries.
- Used the 0.5.0 alpha of the veandco/go-sd2l library: `go get github.com/veandco/go-sdl2@v0.5.0-alpha.1`
- Removing HINT_JOYSTICK_HIDAPI_CORRELATE_XINPUT from veandco/sdl/hints.go
- Line 85 in veandco/sdl/sdl_ttf.go: use SDL_bool rather than int
- Changing color assign in events and textrenderer from the sdl.Color8888 to color.Color