mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-12 16:34:01 +00:00
same change but for gbitmap
make sure to use the namespace TSShape
This commit is contained in:
parent
e83bab90d7
commit
3aac9af35e
5 changed files with 32 additions and 27 deletions
|
|
@ -858,14 +858,14 @@ Torque::Path GFXTextureManager::validatePath(const Torque::Path &path)
|
|||
|
||||
// Now loop through the rest of the GBitmap extensions
|
||||
// to see if we have any matches
|
||||
for (U32 i = 0; i < GBitmap::sRegistrations.size(); i++)
|
||||
for (U32 i = 0; i < GBitmap::getBitmapRegistrations().size(); i++)
|
||||
{
|
||||
// If we have gotten a match (either in this loop or before)
|
||||
// then we can exit
|
||||
if (textureExt)
|
||||
break;
|
||||
|
||||
const GBitmap::Registration ® = GBitmap::sRegistrations[i];
|
||||
const GBitmap::Registration ® = GBitmap::getBitmapRegistrations()[i];
|
||||
const Vector<String> &extensions = reg.extensions;
|
||||
|
||||
for (U32 j = 0; j < extensions.size(); ++j)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue