diff options
author | Graham Linden <graham@lindenlab.com> | 2019-07-08 13:09:20 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-07-08 13:09:20 -0700 |
commit | a03221d5341a30b38faadb6dfc02bbc2fb2dc8cd (patch) | |
tree | 95a3cedaa832d756a586dca8dfabc3a95e2deb69 /indra | |
parent | 76c41dafe939da18a1f1012779e2a53e46c35eb8 (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.cpp | 5 |
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(); |