From fc7fda188f6832000bdbfa451d642f37b7e70584 Mon Sep 17 00:00:00 2001
From: faiface <faiface@ksp.sk>
Date: Fri, 2 Dec 2016 22:57:17 +0100
Subject: [PATCH] change Context to a field (instead of embed) in ContextHolder

---
 pixelgl/interface.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pixelgl/interface.go b/pixelgl/interface.go
index 2a272b0..c079204 100644
--- a/pixelgl/interface.go
+++ b/pixelgl/interface.go
@@ -53,7 +53,7 @@ func (c Context) WithShader(s *Shader) Context {
 
 // ContextHolder is a root Doer with no parent. It simply forwards a context to a child.
 type ContextHolder struct {
-	Context
+	Context Context
 }
 
 // Do calls sub and passes it the held context.
-- 
GitLab