mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Merge pull request #1148 from marauder2k9-torque/STBImageLoading-PR
Stb image loading
This commit is contained in:
commit
51426a3575
22 changed files with 20385 additions and 1813 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue