Make SDL2's Backend_ShowMessageBox print to console

Just in case SDL_ShowMessageBox doesn't work (no GUI)
This commit is contained in:
Clownacy 2020-04-07 17:20:39 +01:00
parent f2950b085b
commit aa7f7814d5

View file

@ -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);
}