mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
uidriver/glfw: Remove unused logics
This commit is contained in:
parent
5bc09acb41
commit
b7a1e85788
@ -74,9 +74,6 @@ func (i *Input) GamepadIDs() []int {
|
||||
}
|
||||
var r []int
|
||||
_ = i.ui.t.Call(func() error {
|
||||
if len(i.gamepads) == 0 {
|
||||
return nil
|
||||
}
|
||||
for id, g := range i.gamepads {
|
||||
if g.valid {
|
||||
r = append(r, id)
|
||||
|
Loading…
Reference in New Issue
Block a user