remove unnecessary Window.Shader method

This commit is contained in:
faiface 2017-01-05 14:58:22 +01:00
parent 29871f72f1
commit 5b4cc5f18e
2 changed files with 0 additions and 7 deletions

View File

@ -45,8 +45,6 @@ func NewPicture(img image.Image, smooth bool) *Picture {
} }
// 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
} }

View File

@ -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. // 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 // This is usefull when overriding the user's attempt to close a window, or just to close a