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

+2 -2
View File
@@ -772,8 +772,8 @@ static int SDLCALL SDL_RendererEventWatch(void *userdata, SDL_Event *event)
}
}
}
} else if (event->type == SDL_EVENT_MOUSE_BUTTONDOWN ||
event->type == SDL_EVENT_MOUSE_BUTTONUP) {
} else if (event->type == SDL_EVENT_MOUSE_BUTTON_DOWN ||
event->type == SDL_EVENT_MOUSE_BUTTON_UP) {
SDL_Window *window = SDL_GetWindowFromID(event->button.windowID);
if (window == renderer->window) {
int logical_w, logical_h;