summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-21 16:09:22 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-21 16:09:22 +0100
commit3008d5790d77af740847f1b39dedc117574cce60 (patch)
treeb4dcc571acf927d7d3a08996912a83cb6e459408 /indra
parent57602c9c77cb594a81a5f803382c1786435e38ab (diff)
Avoid potentially loading the standard bumpmap list twice during startup.
(transplanted from 6dfc8d6ec39f6f3af4495c27546054f311b884af)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lldrawpoolbump.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/lldrawpoolbump.cpp b/indra/newview/lldrawpoolbump.cpp
index 3c26809259..eefb93dc0c 100644
--- a/indra/newview/lldrawpoolbump.cpp
+++ b/indra/newview/lldrawpoolbump.cpp
@@ -82,7 +82,7 @@ static S32 bump_channel = -1;
// static
void LLStandardBumpmap::init()
{
- LLStandardBumpmap::restoreGL();
+ // do nothing
}
// static
@@ -835,6 +835,8 @@ void LLBumpImageList::clear()
// these will be re-populated on-demand
mBrightnessEntries.clear();
mDarknessEntries.clear();
+
+ LLStandardBumpmap::clear();
}
void LLBumpImageList::shutdown()
@@ -851,8 +853,8 @@ void LLBumpImageList::destroyGL()
void LLBumpImageList::restoreGL()
{
- // Images will be recreated as they are needed.
LLStandardBumpmap::restoreGL();
+ // Images will be recreated as they are needed.
}