Q3BSP Importer: Allow embedded TGA types to be used as textures.
Signed-off-by: Steven Lovegrove <stevenlovegrove@gmail.com>pull/9/head
parent
18671a2090
commit
d1f2155115
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue