mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
internal/uidriver/glfw: Refactoring
This commit is contained in:
parent
f00bdc99f7
commit
422387c7cd
@ -75,7 +75,7 @@ func videoModeScaleUncached(m *glfw.Monitor, monitorX, monitorY int) float64 {
|
|||||||
}
|
}
|
||||||
defer xconn.Close()
|
defer xconn.Close()
|
||||||
|
|
||||||
if err = randr.Init(xconn); err != nil {
|
if err := randr.Init(xconn); err != nil {
|
||||||
// No RANDR extension? No problem.
|
// No RANDR extension? No problem.
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user