mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-03 04:24:41 +00:00
Removed SDL_Keysym
This commit is contained in:
@@ -65,7 +65,7 @@ static void iteration(void)
|
||||
if (e.type == SDL_EVENT_QUIT) {
|
||||
done = 1;
|
||||
} else if (e.type == SDL_EVENT_KEY_UP) {
|
||||
if (e.key.keysym.sym == SDLK_ESCAPE) {
|
||||
if (e.key.key == SDLK_ESCAPE) {
|
||||
done = 1;
|
||||
}
|
||||
} else if (e.type == SDL_EVENT_AUDIO_DEVICE_ADDED) {
|
||||
|
||||
Reference in New Issue
Block a user