summaryrefslogtreecommitdiff
path: root/indra/llwindow/llsdl.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@lindenlab.com>2025-11-04 07:58:01 -0500
committerGitHub <noreply@github.com>2025-11-04 07:58:01 -0500
commit92c08effbc68233f2b1025215ad5422497d43c68 (patch)
tree35cf80b6f631d707410ca4f413ced113551af10e /indra/llwindow/llsdl.cpp
parent02f8d44c9c9cf7c1996d509c527a13f143b120c0 (diff)
parentaf600606e67ea90e634827a6356caabc2ef37ccc (diff)
Merge pull request #4915 from RyeMutt/rye/linux64-2
Linux64 Part 2
Diffstat (limited to 'indra/llwindow/llsdl.cpp')
-rw-r--r--indra/llwindow/llsdl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llwindow/llsdl.cpp b/indra/llwindow/llsdl.cpp
index c97356ee80..d0a7552647 100644
--- a/indra/llwindow/llsdl.cpp
+++ b/indra/llwindow/llsdl.cpp
@@ -64,10 +64,12 @@ void sdl_logger(void *userdata, int category, SDL_LogPriority priority, const ch
void init_sdl(const std::string& app_name)
{
+#ifndef LL_SDL_APP
if (!gSDLMainHandled)
{
SDL_SetMainReady();
}
+#endif
SDL_SetLogOutputFunction(&sdl_logger, nullptr);