replace specific names for a universal getRegistrations

This commit is contained in:
marauder2k7 2026-06-07 22:37:20 +01:00
parent 3aac9af35e
commit d4e9275240
7 changed files with 28 additions and 28 deletions

View file

@ -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 &reg = GBitmap::getBitmapRegistrations()[i];
const GBitmap::Registration &reg = GBitmap::getRegistrations()[i];
const Vector<String> &extensions = reg.extensions;
for (U32 j = 0; j < extensions.size(); ++j)