go-sdl2
go-sdl2 copied to clipboard
SDL2 binding for Go
#### Description Rendering a string using the `RendererUTF8Blended` [function](https://godoc.org/github.com/veandco/go-sdl2/ttf#Font.RenderUTF8Blended) from the ttf package ignores the alpha value specified in the `sdl.Color` after cross-compiling from Linux to Windows. It does, however,...
So, basically I'm following justforfunc series, and started to build flappy gopher game. I've run into an issue that after running a renderer in a separate goroutine it doesn't copy...
Hi, IT seems that Clangs LLD linker doesn't recognize the -Wl,-no-undefined argument and crashes. Can it be removed or altered?
I'm having trouble cross-compiling from mac (darwin) to linux, both amd64. I am running go version **go1.14.3 darwin/amd64**. The program in question can be statically compiled for macOS (compiler host),...
I am have a webview in one window and a 3d opengl view in another window. But I would like to composite them into the same window OR dock one...
When using the static libraries, trying to load Vulkan results in the error: `Vulkan support is either not configured in SDL or not available in current SDL video driver (x11)...
FLAC support is not available. I have mix.INIT_FLAC specified. go version go1.14.1 windows/amd64
It seems that the F variant of CopyEx ignores the source rectangle. This code `renderer.CopyEx(texture, &sdl.Rect{W: 60, H: 60}, nil, 0, nil, sdl.FLIP_NONE) ` correctly renders the cropped texture full-screen....
Example code for drawing **RED** square: ```go package main import ( "github.com/veandco/go-sdl2/sdl" "image/color" "os" ) const width, height = 100, 100 func main() { if err := sdl.Init(sdl.INIT_EVERYTHING); err !=...