Skip to content
Snippets Groups Projects
Commit 62bc194e authored by faiface's avatar faiface
Browse files

another small fix

parent 4480f61a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment