aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldynamictexture.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-28 17:21:23 -0500
committerJacek Antonelli2008-09-28 17:21:46 -0500
commit31e7c77a411d94bc87f0232588b339149bb29a49 (patch)
tree49e487700e91713e620e4d33f20b7f7afb5a2fa9 /linden/indra/newview/lldynamictexture.cpp
parentSecond Life viewer sources 1.21.2-RC (diff)
downloadmeta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.zip
meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.gz
meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.bz2
meta-impy-31e7c77a411d94bc87f0232588b339149bb29a49.tar.xz
Second Life viewer sources 1.21.3-RC
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);