diff options
author | Jacek Antonelli | 2008-08-15 23:45:54 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:54 -0500 |
commit | d0b03a62fd799317d5da0bd56615739ce3b5b052 (patch) | |
tree | 8bc79bbbb52e18294f62810d9fa66ce136f90e2d /linden/indra/newview/lldynamictexture.cpp | |
parent | Second Life viewer sources 1.20.8 (diff) | |
download | meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.zip meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.gz meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.bz2 meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.xz |
Second Life viewer sources 1.20.9
Diffstat (limited to 'linden/indra/newview/lldynamictexture.cpp')
-rw-r--r-- | linden/indra/newview/lldynamictexture.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/linden/indra/newview/lldynamictexture.cpp b/linden/indra/newview/lldynamictexture.cpp index f77187d..a724d88 100644 --- a/linden/indra/newview/lldynamictexture.cpp +++ b/linden/indra/newview/lldynamictexture.cpp | |||
@@ -42,8 +42,6 @@ | |||
42 | #include "llviewerdisplay.h" | 42 | #include "llviewerdisplay.h" |
43 | #include "llrender.h" | 43 | #include "llrender.h" |
44 | 44 | ||
45 | void render_ui_and_swap_if_needed(); | ||
46 | |||
47 | // static | 45 | // static |
48 | LLDynamicTexture::instance_list_t LLDynamicTexture::sInstances[ LLDynamicTexture::ORDER_COUNT ]; | 46 | LLDynamicTexture::instance_list_t LLDynamicTexture::sInstances[ LLDynamicTexture::ORDER_COUNT ]; |
49 | S32 LLDynamicTexture::sNumRenders = 0; | 47 | S32 LLDynamicTexture::sNumRenders = 0; |
@@ -219,9 +217,8 @@ BOOL LLDynamicTexture::updateAllInstances() | |||
219 | LLDynamicTexture *dynamicTexture = *iter; | 217 | LLDynamicTexture *dynamicTexture = *iter; |
220 | if (dynamicTexture->needsRender()) | 218 | if (dynamicTexture->needsRender()) |
221 | { | 219 | { |
222 | render_ui_and_swap_if_needed(); | ||
223 | glClear(GL_DEPTH_BUFFER_BIT); | 220 | glClear(GL_DEPTH_BUFFER_BIT); |
224 | gDisplaySwapBuffers = FALSE; | 221 | gDepthDirty = TRUE; |
225 | 222 | ||
226 | 223 | ||
227 | gGL.color4f(1,1,1,1); | 224 | gGL.color4f(1,1,1,1); |