for DEV-33077 partially: don't call analyzeAlpha for media textures.

master
Xiaohong Bao 2009-07-31 17:51:39 +00:00
parent e6240500a9
commit 3c85899ee0
1 changed files with 3 additions and 0 deletions

View File

@ -1940,6 +1940,8 @@ LLViewerMediaTexture::LLViewerMediaTexture(const LLUUID& id, BOOL usemipmaps, LL
{
generateGLTexture() ;
}
mGLTexturep->setNeedsAlphaAndPickMask(FALSE) ;
mIsPlaying = FALSE ;
}
@ -1952,6 +1954,7 @@ void LLViewerMediaTexture::reinit(BOOL usemipmaps /* = TRUE */)
getLastReferencedTimer()->reset() ;
generateGLTexture() ;
mGLTexturep->setNeedsAlphaAndPickMask(FALSE) ;
}
void LLViewerMediaTexture::setUseMipMaps(BOOL mipmap)