aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerimagelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerimagelist.cpp')
-rw-r--r--linden/indra/newview/llviewerimagelist.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewerimagelist.cpp b/linden/indra/newview/llviewerimagelist.cpp
index 9c74b4a..68edca8 100644
--- a/linden/indra/newview/llviewerimagelist.cpp
+++ b/linden/indra/newview/llviewerimagelist.cpp
@@ -129,7 +129,8 @@ void LLViewerImageList::doPreloadImages()
129 129
130 // Speeds up startup by 4-5 seconds. JC 130 // Speeds up startup by 4-5 seconds. JC
131 if (!gPreloadImages) return; 131 if (!gPreloadImages) return;
132 132
133 LLViewerImage* image;
133 // Images listed here are immediately decoded, before the login screen. 134 // Images listed here are immediately decoded, before the login screen.
134 // Since this slows down perceived viewer startup time, only include 135 // Since this slows down perceived viewer startup time, only include
135 // images here for buttons/checkboxes/etc. that are immediately visible. 136 // images here for buttons/checkboxes/etc. that are immediately visible.
@@ -289,7 +290,8 @@ void LLViewerImageList::doPreloadImages()
289 preloadUIImage("object_tube_active.tga", LLUUID::null, FALSE); 290 preloadUIImage("object_tube_active.tga", LLUUID::null, FALSE);
290 preloadUIImage("pixiesmall.tga", LLUUID::null, TRUE); 291 preloadUIImage("pixiesmall.tga", LLUUID::null, TRUE);
291 preloadUIImage("script_error.tga", LLUUID::null, TRUE); 292 preloadUIImage("script_error.tga", LLUUID::null, TRUE);
292 preloadUIImage("silhouette.tga", LLUUID::null, TRUE); 293 image = preloadUIImage("silhouette.tga", LLUUID::null, TRUE);
294 if (image) image->setClamp(FALSE, FALSE);
293 preloadUIImage("status_no_build.tga", LLUUID::null, FALSE); 295 preloadUIImage("status_no_build.tga", LLUUID::null, FALSE);
294 preloadUIImage("status_buy_currency.tga", LLUUID::null, FALSE); 296 preloadUIImage("status_buy_currency.tga", LLUUID::null, FALSE);
295 preloadUIImage("status_buy_currency_pressed.tga", LLUUID::null, FALSE); 297 preloadUIImage("status_buy_currency_pressed.tga", LLUUID::null, FALSE);