Change texture default to non-auto-alphamaskable, non-pickable. Only 'fetchable' textures may qualify for either.
This commit is contained in:
@@ -135,7 +135,7 @@ public:
|
||||
BOOL getHasGLTexture() const { return mTexName != 0; }
|
||||
LLGLuint getTexName() const { return mTexName; }
|
||||
|
||||
BOOL getIsAlphaMask(const F32 max_rmse) const { return mCanMask && (max_rmse < 0.f ? (bool)mIsMask : (mMaskRMSE <= max_rmse)); }
|
||||
BOOL getIsAlphaMask(const F32 max_rmse) const { return mNeedsAlphaAndPickMask && (max_rmse < 0.f ? (bool)mIsMask : (mMaskRMSE <= max_rmse)); }
|
||||
|
||||
BOOL getIsResident(BOOL test_now = FALSE); // not const
|
||||
|
||||
@@ -185,7 +185,6 @@ private:
|
||||
S8 mHasExplicitFormat; // If false (default), GL format is f(mComponents)
|
||||
S8 mAutoGenMips;
|
||||
|
||||
BOOL mCanMask;
|
||||
BOOL mIsMask;
|
||||
F32 mMaskRMSE;
|
||||
BOOL mNeedsAlphaAndPickMask;
|
||||
|
||||
Reference in New Issue
Block a user