another small fix

This commit is contained in:
faiface 2016-11-23 23:31:45 +01:00
parent 4480f61a0a
commit 62bc194ee4
1 changed files with 1 additions and 3 deletions

View File

@ -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)
}