mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 18:37:40 +00:00
Renamed SDLK_a-z to SDLK_A-Z
Made the symbols uppercase for consistency with the other SDLK_* constants, but the values are still lowercase.
This commit is contained in:
parent
d9dc4b320a
commit
e8dbbf8380
16 changed files with 275 additions and 93 deletions
|
@ -391,10 +391,10 @@ int main(int argc, char *argv[])
|
|||
while (SDL_PollEvent(&event)) {
|
||||
SDLTest_CommonEvent(state, &event, &done);
|
||||
if (event.type == SDL_EVENT_KEY_DOWN) {
|
||||
if (event.key.key == SDLK_o) {
|
||||
if (event.key.key == SDLK_O) {
|
||||
swap_interval--;
|
||||
update_swap_interval = SDL_TRUE;
|
||||
} else if (event.key.key == SDLK_p) {
|
||||
} else if (event.key.key == SDLK_P) {
|
||||
swap_interval++;
|
||||
update_swap_interval = SDL_TRUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue