summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-07-08 13:09:20 -0700
committerGraham Linden <graham@lindenlab.com>2019-07-08 13:09:20 -0700
commita03221d5341a30b38faadb6dfc02bbc2fb2dc8cd (patch)
tree95a3cedaa832d756a586dca8dfabc3a95e2deb69 /indra
parent76c41dafe939da18a1f1012779e2a53e46c35eb8 (diff)
Make dyn tex updates happen during display startup again (didn't help 10625 anyway).
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerdisplay.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index 7101f6fbb0..0eafce7e1c 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -146,6 +146,11 @@ void display_startup()
LLGLState::checkStates();
LLGLState::checkTextureChannels();
+ if (frame_count++ > 1) // make sure we have rendered a frame first
+ {
+ LLViewerDynamicTexture::updateAllInstances();
+ }
+
LLGLState::checkStates();
LLGLState::checkTextureChannels();