Rename mouse BUTTON(DOWN|UP) event to BUTTON_(DOWN|UP)

This commit is contained in:
Anonymous Maarten authored and Sam Lantinga committed 2023-01-29 19:24:48 -08:00
1 parent 413376cdb3
commit 758c0dd6d8
23 files changed
+45 -45

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ void loop()
/* Check for events */
while (SDL_PollEvent(&event)) {
SDLTest_CommonEvent(state, &event, &done);
if (event.type == SDL_EVENT_MOUSE_BUTTONDOWN) {
if (event.type == SDL_EVENT_MOUSE_BUTTON_DOWN) {
if (event.button.button == SDL_BUTTON_LEFT) {
if (num_cursors == 0) {
continue;