diff options
Diffstat (limited to 'indra/newview/lldynamictexture.cpp')
-rw-r--r-- | indra/newview/lldynamictexture.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/lldynamictexture.cpp b/indra/newview/lldynamictexture.cpp index 7b88349ef4..039ed2862f 100644 --- a/indra/newview/lldynamictexture.cpp +++ b/indra/newview/lldynamictexture.cpp @@ -40,9 +40,7 @@ #include "llviewerimage.h" #include "llvertexbuffer.h" #include "llviewerdisplay.h" -#include "llglimmediate.h" - -void render_ui_and_swap_if_needed(); +#include "llrender.h" // static LLDynamicTexture::instance_list_t LLDynamicTexture::sInstances[ LLDynamicTexture::ORDER_COUNT ]; @@ -219,9 +217,8 @@ BOOL LLDynamicTexture::updateAllInstances() LLDynamicTexture *dynamicTexture = *iter; if (dynamicTexture->needsRender()) { - render_ui_and_swap_if_needed(); glClear(GL_DEPTH_BUFFER_BIT); - gDisplaySwapBuffers = FALSE; + gDepthDirty = TRUE; gGL.color4f(1,1,1,1); |