Tweak alphamask RSME and allow multiselect derender.

This commit is contained in:
Shyotl
2017-03-25 00:35:48 -05:00
parent 1ccd8cfd89
commit f1063afea1
9 changed files with 106 additions and 64 deletions

View File

@@ -312,11 +312,11 @@ LLGLenum LLGLTexture::getPrimaryFormat() const
return mGLTexturep->getPrimaryFormat() ;
}
BOOL LLGLTexture::getIsAlphaMask(const F32 max_rmse) const
BOOL LLGLTexture::getIsAlphaMask(const F32 max_rmse, const F32 max_mid) const
{
llassert(mGLTexturep.notNull()) ;
return mGLTexturep->getIsAlphaMask(max_rmse) ;
return mGLTexturep->getIsAlphaMask(max_rmse, max_mid) ;
}
BOOL LLGLTexture::getMask(const LLVector2 &tc)