Q3BSP Importer: Allow embedded TGA types to be used as textures.

Signed-off-by: Steven Lovegrove <stevenlovegrove@gmail.com>
pull/9/head
Steven Lovegrove 2012-11-04 14:14:03 -05:00
parent 18671a2090
commit d1f2155115
1 changed files with 1 additions and 0 deletions

View File

@ -640,6 +640,7 @@ bool Q3BSPFileImporter::importTextureFromArchive( const Q3BSP::Q3BSPModel *pMode
std::vector<std::string> supportedExtensions; std::vector<std::string> supportedExtensions;
supportedExtensions.push_back( ".jpg" ); supportedExtensions.push_back( ".jpg" );
supportedExtensions.push_back( ".png" ); supportedExtensions.push_back( ".png" );
supportedExtensions.push_back( ".tga" );
if ( NULL == pArchive || NULL == pArchive || NULL == pMatHelper ) if ( NULL == pArchive || NULL == pArchive || NULL == pMatHelper )
{ {
return false; return false;