summaryrefslogtreecommitdiff
path: root/indra/newview/lldynamictexture.cpp
diff options
context:
space:
mode:
authorAndrew A. de Laix <alain@lindenlab.com>2010-07-22 17:36:59 -0700
committerAndrew A. de Laix <alain@lindenlab.com>2010-07-22 17:36:59 -0700
commit7ee930ea4a5721077974bc5b24d8cc1c6b6a2fae (patch)
tree85fe4a48c5c61da93ce456b1af120e0312c33c51 /indra/newview/lldynamictexture.cpp
parent7600b0bcd0751d15c855a44cbaad6d94f745869b (diff)
parentaac8bf09885a30953822f1edee0fddeb1e6722a0 (diff)
Merge
Diffstat (limited to 'indra/newview/lldynamictexture.cpp')
-rw-r--r--indra/newview/lldynamictexture.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/lldynamictexture.cpp b/indra/newview/lldynamictexture.cpp
index c423473740..bb4e6c7a3e 100644
--- a/indra/newview/lldynamictexture.cpp
+++ b/indra/newview/lldynamictexture.cpp
@@ -167,6 +167,10 @@ void LLViewerDynamicTexture::postRender(BOOL success)
{
generateGLTexture() ;
}
+ if(!mGLTexturep->getHasGLTexture())
+ {
+ generateGLTexture() ;
+ }
llcallstacks << "class type: " << (S32)getType() << llcallstacksendl ;
success = mGLTexturep->setSubImageFromFrameBuffer(0, 0, mOrigin.mX, mOrigin.mY, mFullWidth, mFullHeight);