Enable compressed texture. Also minor cleanup.

This commit is contained in:
Shyotl
2019-03-01 22:19:11 -06:00
parent 04ea11c61e
commit e1cf05c327
13 changed files with 32 additions and 290 deletions

View File

@@ -119,7 +119,7 @@ public:
S32 getMipOffset(S32 discard);
EFileFormat getFileFormat() { return mFileFormat; }
bool isCompressed() { return (mFileFormat >= FORMAT_DXT1 && mFileFormat <= FORMAT_DXR5); }
bool isCompressed() const { return (mFileFormat >= FORMAT_DXT1 && mFileFormat <= FORMAT_DXR5); }
bool convertToDXR(); // convert from DXT to DXR