func ReuploadTexture(tex *gl.Texture, w, h int, data []byte) { if *tex > 0 { tex.Delete() } *tex = uploadTexture_RGBA32(w, h, data) }