Removed a TODO from area_windows.go after verifying that what it flagged (GetKeyState() vs. GetAsyncKeyState()) is indeed what we want to do (the former).

This commit is contained in:
Pietro Gagliardi 2014-06-03 00:53:24 -04:00
parent 4ede7d497d
commit fb8e64cb5a
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ var (
func getModifiers() (m Modifiers) {
down := func(x uintptr) bool {
// TODO this might not be related to the actual message; GLFW does it
// GetKeyState() gets the key state at the time of the message, so this is what we want
r1, _, _ := _getKeyState.Call(x)
return (r1 & 0x80) != 0
}