another small fix
This commit is contained in:
parent
4480f61a0a
commit
62bc194ee4
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue