Added support for explitly requesting DXT1a and DXT1c compression

This commit is contained in:
Robert Osfield
2011-04-11 19:11:25 +00:00
parent f0f31e4a8c
commit e7e860b742
4 changed files with 41 additions and 2 deletions

View File

@@ -447,7 +447,9 @@ class OSG_EXPORT Texture : public osg::StateAttribute
USE_S3TC_DXT3_COMPRESSION,
USE_S3TC_DXT5_COMPRESSION,
USE_RGTC1_COMPRESSION,
USE_RGTC2_COMPRESSION
USE_RGTC2_COMPRESSION,
USE_S3TC_DXT1c_COMPRESSION,
USE_S3TC_DXT1a_COMPRESSION
};
/** Sets the internal texture format mode. Note: If the texture format is