projects
/
csrpg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fbe9f1
)
removed extranious comments
author
matthew
<matthew@owens.tech>
Sun, 4 Nov 2018 12:27:53 +0000
(12:27 +0000)
committer
matthew
<matthew@owens.tech>
Sun, 4 Nov 2018 12:27:53 +0000
(12:27 +0000)
gl/input.c
patch
|
blob
|
history
diff --git
a/gl/input.c
b/gl/input.c
index
05b34e9
..
88a2e74
100644
(file)
--- a/
gl/input.c
+++ b/
gl/input.c
@@
-89,10
+89,6
@@
void crpgInputInit()
memset(kb.prevState, 0, sizeof(Uint8)*SDL_NUM_SCANCODES);
memcpy(kb.state, SDL_GetKeyboardState(NULL), sizeof(Uint8)*SDL_NUM_SCANCODES);
-
- // constraining the mouse to the window
- // TODO: only set relative mouse mode once the mouse is in the window, disable input otherwise
- //SDL_SetRelativeMouseMode(SDL_TRUE);
}
void crpgInputCleanup()