mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-12 08:23:59 +00:00
replace specific names for a universal getRegistrations
This commit is contained in:
parent
3aac9af35e
commit
d4e9275240
7 changed files with 28 additions and 28 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::getBitmapRegistrations().size(); i++)
|
||||
for (U32 i = 0; i < GBitmap::getRegistrations().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::getBitmapRegistrations()[i];
|
||||
const GBitmap::Registration ® = GBitmap::getRegistrations()[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