Merge pull request #1148 from marauder2k9-torque/STBImageLoading-PR

Stb image loading
This commit is contained in:
Brian Roberts 2024-01-01 08:48:46 -06:00 committed by GitHub
commit 51426a3575
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 20385 additions and 1813 deletions

View file

@ -94,7 +94,7 @@ function ImportAssetWindow::onWake(%this)
//
function isImageFormat(%fileExt)
{
if( (%fileExt $= ".png") || (%fileExt $= ".jpg") || (%fileExt $= ".bmp") || (%fileExt $= ".dds") || (%fileExt $= ".tif"))
if( (%fileExt $= ".png") || (%fileExt $= ".jpg") || (%fileExt $= ".bmp") || (%fileExt $= ".dds") || (%fileExt $= ".tif") || (%fileExt $= ".psd") || (%fileExt $= ".gif") || (%fileExt $= ".hdr"))
return true;
return false;