diff options
| author | Loren Shih <seraph@lindenlab.com> | 2010-07-23 10:13:11 -0400 |
|---|---|---|
| committer | Loren Shih <seraph@lindenlab.com> | 2010-07-23 10:13:11 -0400 |
| commit | 056685d9d4ac82aad45e46ae5d5226690d416513 (patch) | |
| tree | 7f20ea566ee324303582b83c62530b6fa7d7bf98 /indra/newview/lldynamictexture.cpp | |
| parent | 75cfa9a0c3c15e3a472a4c4fd2462402a3a766a0 (diff) | |
| parent | 77911533dc68731f50f40b18cd44e287df28f476 (diff) | |
automated merge
Diffstat (limited to 'indra/newview/lldynamictexture.cpp')
| -rw-r--r-- | indra/newview/lldynamictexture.cpp | 4 |
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); |
