From c043b5c65bed6ef803d4d1e71d67cab4205c8b0f Mon Sep 17 00:00:00 2001 From: erysdren Date: Fri, 12 Jul 2024 18:25:05 -0500 Subject: [PATCH] Use SDL_ShowSimpleMessageBox() under SDL2 --- Quake/pl_linux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Quake/pl_linux.c b/Quake/pl_linux.c index 25fe6b4b8..5995b4bb8 100644 --- a/Quake/pl_linux.c +++ b/Quake/pl_linux.c @@ -91,5 +91,8 @@ char *PL_GetClipboardData (void) void PL_ErrorDialog (const char *errorMsg) { +#if defined(USE_SDL2) + SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Quake Error", errorMsg, NULL); +#endif }