Why isnt't the PNG's transparency displayed correctly?

前端 未结 0 930
滥情空心
滥情空心 2021-01-28 05:02

I\'m using the Go bindings for SDL and OpenGL. This is how I load the texture:

func (sprite *Sprite) loadImage(name string) {
    surf, err := img.Load(name)
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题