mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
glfw: Skip error check at proc call
This commit is contained in:
parent
a21a4c75b0
commit
efc7225ee1
@ -41,7 +41,8 @@ func (d *dll) call(name string, args ...uintptr) uintptr {
|
|||||||
}
|
}
|
||||||
r, _, err := d.procs[name].Call(args...)
|
r, _, err := d.procs[name].Call(args...)
|
||||||
if err != nil && err.(windows.Errno) != 0 {
|
if err != nil && err.(windows.Errno) != 0 {
|
||||||
panic(err)
|
// It looks like there is no way to handle these errors?
|
||||||
|
// panic(fmt.Sprintf("glfw: calling proc error: errno: %d (%s)", err, err.Error()))
|
||||||
}
|
}
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user