From 62bc194ee46993ed9556e06a867d968b7e38bbcd Mon Sep 17 00:00:00 2001
From: faiface <faiface@ksp.sk>
Date: Wed, 23 Nov 2016 23:31:45 +0100
Subject: [PATCH] another small fix

---
 pixelgl/thread.go | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/pixelgl/thread.go b/pixelgl/thread.go
index f24cc2c..c78c6e0 100644
--- a/pixelgl/thread.go
+++ b/pixelgl/thread.go
@@ -27,9 +27,7 @@ func init() {
 // It must be called under the presence of an active OpenGL context, e.g., always after calling window.MakeContextCurrent().
 // Also, always call this function when switching contexts.
 func Init() {
-	err := DoErr(func() error {
-		return gl.Init()
-	})
+	err := gl.Init()
 	if err != nil {
 		panic(err)
 	}
-- 
GitLab