Merge commit 'b22c6238d5eb65ced42808ec326aae75d0d5c9ed' into back-to-imgui
This commit is contained in:
7
external/SDL/test/testmessage.c
vendored
7
external/SDL/test/testmessage.c
vendored
@@ -98,15 +98,16 @@ static int SDLCALL button_messagebox(void *eventNumber)
|
||||
}
|
||||
SDL_Log("Pressed button: %d, %s", button, button == -1 ? "[closed]" : text);
|
||||
|
||||
if (button == 2) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (eventNumber) {
|
||||
SDL_Event event;
|
||||
event.type = (Uint32)(intptr_t)eventNumber;
|
||||
SDL_PushEvent(&event);
|
||||
}
|
||||
|
||||
if (button == 2) {
|
||||
continue;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user