summaryrefslogtreecommitdiff
path: root/indra/newview/lleventpoll.cpp
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-12-01 14:49:22 -0600
committerRunitaiLinden <davep@lindenlab.com>2023-12-01 14:49:22 -0600
commitc573d27e5baf23adbc14153c4d65a581f55febb4 (patch)
tree41fcbccdffd13c77073768241baa55200a695614 /indra/newview/lleventpoll.cpp
parenta09b083b1b18d293d97dd84dd4849924b2766a4f (diff)
SL-20611 Followup -- fix for water rendering twice. Add comments around LLEventPoll hack.
Diffstat (limited to 'indra/newview/lleventpoll.cpp')
-rw-r--r--indra/newview/lleventpoll.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/lleventpoll.cpp b/indra/newview/lleventpoll.cpp
index 670a780fdd..6ffc8f7bdd 100644
--- a/indra/newview/lleventpoll.cpp
+++ b/indra/newview/lleventpoll.cpp
@@ -152,6 +152,8 @@ namespace Details
LL::WorkQueue::ptr_t main_queue = nullptr;
+ // HACK -- grab the mainloop workqueue to move execution of the handler
+ // to a place that's safe in the main thread
#if 1
main_queue = LL::WorkQueue::getInstance("mainloop");
#endif