Renamed SDL events for clarity

Fixes https://github.com/libsdl-org/SDL/issues/6877
This commit is contained in:
Sam Lantinga committed 2023-01-24 07:26:48 -08:00
1 parent 74697bc351
commit 7b50bae524
101 files changed
+1375 -862

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ void loop()
/* Check for events */
while (SDL_PollEvent(&event)) {
if (event.type == SDL_QUIT || event.type == SDL_KEYDOWN) {
if (event.type == SDL_EVENT_QUIT || event.type == SDL_EVENT_KEY_DOWN) {
done = 1;
}
}