veandco / go-sdl2

SDL2 binding for Go
https://godoc.org/github.com/veandco/go-sdl2
BSD 3-Clause "New" or "Revised" License
2.17k stars 219 forks source link

why do some original functions not exist in this project? #455

Closed fhstack closed 4 years ago

fhstack commented 4 years ago

Some original functions suck like SDL_SetVideoMode SDL_CreateYUVOverlay etc... I could't found them in go-sdl project, but we really need them! why not add these functions?

gen2brain commented 4 years ago

These functions are for SDL1 and are removed from SDL2. Bindings are for ver2 and there you create SDL_Texture with YV12 format for something like you want to do.

fhstack commented 4 years ago

Thanks~