コード例 #1
0
ファイル: gomandel.go プロジェクト: hyl87/2011_Go_Geo_Gfx
func ReuploadTexture(tex *gl.Texture, w, h int, data []byte) {
	if *tex > 0 {
		tex.Delete()
	}
	*tex = uploadTexture_RGBA32(w, h, data)
}