aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldynamictexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lldynamictexture.cpp')
-rw-r--r--linden/indra/newview/lldynamictexture.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/newview/lldynamictexture.cpp b/linden/indra/newview/lldynamictexture.cpp
index a724d88..ad0cdec 100644
--- a/linden/indra/newview/lldynamictexture.cpp
+++ b/linden/indra/newview/lldynamictexture.cpp
@@ -141,6 +141,7 @@ void LLDynamicTexture::preRender(BOOL clear_depth)
141 if (window_pos.mY < 0) 141 if (window_pos.mY < 0)
142 { 142 {
143 mOrigin.mY += window_pos.mY; 143 mOrigin.mY += window_pos.mY;
144 mOrigin.mY = llmax(mOrigin.mY, 0) ;
144 } 145 }
145 146
146 LLImageGL::unbindTexture(0, GL_TEXTURE_2D); 147 LLImageGL::unbindTexture(0, GL_TEXTURE_2D);