go-sdl2 icon indicating copy to clipboard operation
go-sdl2 copied to clipboard

SDL2 binding for Go

Results 85 go-sdl2 issues
Sort by recently updated
recently updated
newest added

I think there's two parts to this problem. 1 - do not require the callers to import unsafe in ReadPixels, just take in a slice and assume it's size is...

I completely understand why there is `sdl.Main()` and `sdl.Do` functions, and I'm sure that playing nice with SDL's threading is pretty difficult, but I just wanted to provide some feedback...

area-for-improvement

I was trying to avoid opening an issue but I saw that the `linux arm` flags were added with a commit message saying `Android and RPi` specifically so I'd like...

build

I'm importing this package alongside github.com/andlabs/ui and I get this error when cross-compiling to Windows using mingw: ``` /usr/lib/go/pkg/tool/linux_amd64/link: running x86_64-w64-mingw32-g++ failed: exit status 1 /usr/lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib/../lib/libSDL2.a(SDL_windows.o):(.text+0x17f): undefined reference to `__imp_CoInitializeEx'...

build

https://github.com/veandco/go-sdl2/blob/master/.travis.yml#L18 should be augmented to building all of the examples, currently the go build command does nothing at all and will always exit with status 0.

enhancement

New Android example is here https://github.com/veandco/go-sdl2-examples/tree/master/examples/android . Thanks to static libs now it is really simple to build apk. User needs to `import "C"` to export "main" function, https://github.com/veandco/go-sdl2-examples/blob/master/examples/android/main.go#L182 ,...

enhancement

I'm trying to cross-compile [something](https://github.com/caioariede/sugoku-sdl) but I'm getting an error. Any ideas? **Go version:** > go version go1.5.3 darwin/amd64 **Command:** > CGO_CPPFLAGS="-I/usr/local/opt/libiconv/include -I /usr/local/Cellar/sdl2/2.0.4/include/SDL2" CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -x...

solved?

Would you mind supporting MSVC besides MinGW?

feature-request
waiting-on-go

Making an SDL2 implementation for Go would be great, but we probably shouldn't reinvent the wheel when we don't have to. In the case of sdl-ttf, that would be a...

enhancement
revisit

Currently, when you open a window with a GLContext in macOS Mojave, drawing doesn't start until you manually move the window. To fix it, the NSGLContext has to be updated...

sdl2-issue