Rename mouse BUTTON(DOWN|UP) event to BUTTON_(DOWN|UP)
This commit is contained in:
committed by
Sam Lantinga
parent
413376cdb3
commit
758c0dd6d8
@@ -411,7 +411,7 @@ int main(int argc, char **argv)
|
||||
++current;
|
||||
}
|
||||
}
|
||||
if (event.type == SDL_EVENT_MOUSE_BUTTONDOWN) {
|
||||
if (event.type == SDL_EVENT_MOUSE_BUTTON_DOWN) {
|
||||
if (event.button.x < (original->w / 2)) {
|
||||
--current;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user