aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llimage/llimageworker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llimage/llimageworker.cpp')
-rw-r--r--linden/indra/llimage/llimageworker.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/linden/indra/llimage/llimageworker.cpp b/linden/indra/llimage/llimageworker.cpp
index 86d4151..558a968 100644
--- a/linden/indra/llimage/llimageworker.cpp
+++ b/linden/indra/llimage/llimageworker.cpp
@@ -4,7 +4,7 @@
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$ 5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2001-2009, Linden Research, Inc. 7 * Copyright (c) 2001-2010, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -54,9 +54,14 @@ S32 LLImageDecodeThread::update(U32 max_time_ms)
54 { 54 {
55 creation_info& info = *iter; 55 creation_info& info = *iter;
56 ImageRequest* req = new ImageRequest(info.handle, info.image, 56 ImageRequest* req = new ImageRequest(info.handle, info.image,
57 info.priority, info.discard, info.needs_aux, 57 info.priority, info.discard, info.needs_aux,
58 info.responder); 58 info.responder);
59 addRequest(req); 59
60 bool res = addRequest(req);
61 if (!res)
62 {
63 llerrs << "request added after LLLFSThread::cleanupClass()" << llendl;
64 }
60 } 65 }
61 mCreationList.clear(); 66 mCreationList.clear();
62 S32 res = LLQueuedThread::update(max_time_ms); 67 S32 res = LLQueuedThread::update(max_time_ms);