Removed SDL_Keysym

This commit is contained in:
Sam Lantinga committed 2024-06-21 22:06:08 -07:00
1 parent 679e4471ed
commit 0dd579d40d
35 files changed
+150 -150

No files matched your search

+2 -2
View File
@@ -137,9 +137,9 @@ int main(int argc, char **argv)
break;
case SDL_EVENT_KEY_DOWN:
if (e.key.keysym.sym == SDLK_ESCAPE) {
if (e.key.key == SDLK_ESCAPE) {
done = 1;
} else if (e.key.keysym.sym == SDLK_x) {
} else if (e.key.key == SDLK_x) {
if (!areas) {
areas = drag_areas;
numareas = SDL_arraysize(drag_areas);