From 2869b552a208fc1f667773acc6dd0634a2ce7d51 Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Sun, 4 Jan 2026 13:48:07 +0000 Subject: [PATCH] feat: Disable error dialog in headless environments for SdlWindowService --- src/services/impl/sdl_window_service.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/services/impl/sdl_window_service.cpp b/src/services/impl/sdl_window_service.cpp index 79bc1c0..11343f0 100644 --- a/src/services/impl/sdl_window_service.cpp +++ b/src/services/impl/sdl_window_service.cpp @@ -35,11 +35,12 @@ void ThrowSdlErrorIfFailed(bool success, const char* context) { } void ShowErrorDialog(const char* title, const std::string& message) { - SDL_ShowSimpleMessageBox( - SDL_MESSAGEBOX_ERROR, - title, - message.c_str(), - nullptr); + // Disabled for headless environments + // SDL_ShowSimpleMessageBox( + // SDL_MESSAGEBOX_ERROR, + // title, + // message.c_str(), + // nullptr); } } // namespace