From 947cb02f8c00a940729c14c404dd84488bc93c82 Mon Sep 17 00:00:00 2001
From: faiface <faiface@ksp.sk>
Date: Sat, 17 Dec 2016 12:37:28 +0100
Subject: [PATCH] add Window.DefaultShader

---
 window.go | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/window.go b/window.go
index 68974d4..76891a7 100644
--- a/window.go
+++ b/window.go
@@ -156,6 +156,11 @@ func (w *Window) Update() {
 	})
 }
 
+// DefaultShader returns the default shader used by a window.
+func (w *Window) DefaultShader() *pixelgl.Shader {
+	return w.defaultShader
+}
+
 // SetTitle changes the title of a window.
 func (w *Window) SetTitle(title string) {
 	pixelgl.Do(func() {
-- 
GitLab