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

For a hobby project I've been trying to create a program to run on the rg350 handheld, with a jz4770 processor. When I try to build I get these errors:...

**tl;dr:** I'm trying to cross-compile an application using go-sdl2 and the Windows Subsystem for Linux (or WSL) to build a Windows binary on a Windows machine, without Windows hassles. There...

support

On an Ubuntu 19.10 (Eoan Ermine) system, the following command: `CGO_ENABLED=1 CC=i686-w64-mingw32-gcc GOOS=windows GOARCH=386 go build -v -tags static -ldflags "-s -w"` fails to build https://github.com/20kdc/CCUpdaterUI (Please be noted: If...

bug

I have started [an implementation of this library](https://github.com/gonutz/go-sdl2) using the `SDL2.dll` on Windows directly, thus removing the necessity for a C-compiler. What I have done so far is: I went...

enhancement

Hey there, I'm developing an [application](https://github.com/Linus4/csgoverview) that I want to port to windows. But when I cross-compile from linux, the colors of most of the shapes I draw with the...

revisit

On windows : ``` D:\eu\Workspace\Emissaries>go get github.com/veandco/go-sdl2/sdl go: finding github.com/veandco/go-sdl2/sdl latest # github.com/veandco/go-sdl2/sdl C:\Users\martin\go\pkg\mod\github.com\veandco\[email protected]\sdl\hints.go:86:50: could not determine kind of name for C.SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH ``` ``` D:\eu\Workspace\Emissaries>go version go version go1.12.6 windows/386...

solved?

``` fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7f4a4f717a10] runtime stack: runtime.throw(0x51dacd, 0x2a) /usr/local/go/src/runtime/panic.go:774 +0x72 runtime.sigpanic() /usr/local/go/src/runtime/signal_unix.go:378 +0x47c goroutine 1 [syscall, locked to thread]:...

bug

Installed today from latest github head, my code does this: ``` texture, err := renderer.CreateTextureFromSurface(surface) if err != nil { panic(err) } defer texture.Destroy() surface.Free() dst := sdl.Rect{int32(X), int32(Y), int32(W),...

bug

Thanks for a great library. Almost all of your samples are what would call "one and done" examples; that is build up something, draw it and that is it. Which...

area-for-improvement

I have created a window in my secondary monitor, when I click in my Main monitor, the created window will minimize. This is my code: ``` sdl.Init(sdl.INIT_EVERYTHING) Num,_ :=sdl.GetNumVideoDisplays() var...

need-input
expected-behavior?