mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
ui: Refactoring
This commit is contained in:
parent
9560824dfc
commit
57a9ecd821
@ -49,8 +49,7 @@ func CurrentUI() *UserInterface {
|
||||
func Init() (*opengl.Context, error) {
|
||||
runtime.LockOSThread()
|
||||
|
||||
err := glfw.Init()
|
||||
if err != nil {
|
||||
if err := glfw.Init(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
glfw.WindowHint(glfw.Visible, glfw.False)
|
||||
|
Loading…
Reference in New Issue
Block a user