func (t *Texture) ReplacePixels(c *opengl.Context, p []uint8) error { c.BindTexture(t.native) c.TexSubImage2D(p, t.width, t.height) return nil }