From d1f2155115eeafcaedb188927e75d490741bea46 Mon Sep 17 00:00:00 2001 From: Steven Lovegrove Date: Sun, 4 Nov 2012 14:14:03 -0500 Subject: [PATCH] Q3BSP Importer: Allow embedded TGA types to be used as textures. Signed-off-by: Steven Lovegrove --- code/Q3BSPFileImporter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/Q3BSPFileImporter.cpp b/code/Q3BSPFileImporter.cpp index 74a3151d0..399605a27 100644 --- a/code/Q3BSPFileImporter.cpp +++ b/code/Q3BSPFileImporter.cpp @@ -640,6 +640,7 @@ bool Q3BSPFileImporter::importTextureFromArchive( const Q3BSP::Q3BSPModel *pMode std::vector supportedExtensions; supportedExtensions.push_back( ".jpg" ); supportedExtensions.push_back( ".png" ); + supportedExtensions.push_back( ".tga" ); if ( NULL == pArchive || NULL == pArchive || NULL == pMatHelper ) { return false;