mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/glfw: remove an unreached code
This commit is contained in:
parent
93b2a0756b
commit
12a70952a9
@ -108,7 +108,6 @@ func acceptError(codes ...ErrorCode) error {
|
|||||||
default:
|
default:
|
||||||
panic(fmt.Sprintf("glfw: uncaught error: %s", err.Error()))
|
panic(fmt.Sprintf("glfw: uncaught error: %s", err.Error()))
|
||||||
}
|
}
|
||||||
return err
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func goGLFWErrorCallback(code uintptr, desc *byte) uintptr {
|
func goGLFWErrorCallback(code uintptr, desc *byte) uintptr {
|
||||||
|
Loading…
Reference in New Issue
Block a user