Make SDL2's Backend_ShowMessageBox print to console
Just in case SDL_ShowMessageBox doesn't work (no GUI)
This commit is contained in:
parent
f2950b085b
commit
aa7f7814d5
1 changed files with 1 additions and 0 deletions
|
@ -271,6 +271,7 @@ void Backend_GetKeyboardState(BOOL *out_keyboard_state)
|
|||
|
||||
void Backend_ShowMessageBox(const char *title, const char *message)
|
||||
{
|
||||
printf("ShowMessageBox - '%s' - '%s'\n", title, message);
|
||||
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, title, message, window);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue