Esempio n. 1
0
func (this *FontTexture) CreateGlTexture() *texture.Texture {
	return texture.NewTexture(this.textureData)
}
Esempio n. 2
0
func (f *Fractal) renewTexture() {
	f.tex = texture.NewTexture(texture.NewTextureDataFromPixelGrid(f.grid))
}