mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-13 04:22:05 +01:00
inpututil: Bug fix: Init prevTouchStates
This commit is contained in:
parent
d3f573523a
commit
e7f1623001
@ -50,6 +50,7 @@ var theInputState = &inputState{
|
|||||||
prevGamepadButtonStates: map[int]map[ebiten.GamepadButton]int{},
|
prevGamepadButtonStates: map[int]map[ebiten.GamepadButton]int{},
|
||||||
|
|
||||||
touchStates: map[int]int{},
|
touchStates: map[int]int{},
|
||||||
|
prevTouchStates: map[int]int{},
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user