clarify doc

This commit is contained in:
faiface 2016-12-06 16:38:00 +01:00
parent 275fc03413
commit 53cd80eb34
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ func (p Picture) Delete() {
} }
// Texture returns a pointer to the underlying OpenGL texture of a picture. // Texture returns a pointer to the underlying OpenGL texture of a picture.
//
// Note, that the parent of this texture is pixelgl.NoOpDoer.
func (p Picture) Texture() *pixelgl.Texture { func (p Picture) Texture() *pixelgl.Texture {
return p.texture return p.texture
} }