inpututil: Bug fix: Init prevTouchStates

This commit is contained in:
Hajime Hoshi 2018-02-17 04:07:16 +09:00
parent d3f573523a
commit e7f1623001

View File

@ -49,7 +49,8 @@ var theInputState = &inputState{
gamepadButtonStates: 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() {