From 5b4cc5f18e23be255ef460be587f6efa82e3deef Mon Sep 17 00:00:00 2001 From: faiface Date: Thu, 5 Jan 2017 14:58:22 +0100 Subject: [PATCH] remove unnecessary Window.Shader method --- picture.go | 2 -- window.go | 5 ----- 2 files changed, 7 deletions(-) diff --git a/picture.go b/picture.go index 101551d..49b79bb 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 8faa5a2..1428568 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