diff --git a/picture.go b/picture.go index 101551de099c8bff9848dca091f3fa6b795a800e..49b79bb80a9844e1230de4e4b2d37b3b0f92336e 100644 --- a/picture.go +++ b/picture.go @@ -45,8 +45,6 @@ func NewPicture(img image.Image, smooth bool) *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 { return p.texture } diff --git a/window.go b/window.go index 8faa5a2b30131d648ea6379bdeb794b361c2dbff..1428568db0798ea3a7ea02dda6607a5e7a0ae45b 100644 --- a/window.go +++ b/window.go @@ -197,11 +197,6 @@ func (w *Window) Update() { }) } -// Shader returns the default shader used by a window. -func (w *Window) Shader() *pixelgl.Shader { - return w.shader -} - // SetClosed sets the closed flag of a window. // // This is usefull when overriding the user's attempt to close a window, or just to close a