| 1331 | } |
| 1332 | |
| 1333 | GFXTextureObject* GFXTextureManager::hashFind( const String &name ) |
| 1334 | { |
| 1335 | if ( name.isEmpty() ) |
| 1336 | return NULL; |
| 1337 | |
| 1338 | U32 key = name.getHashCaseInsensitive() % mHashCount; |
| 1339 | GFXTextureObject *walk = mHashTable[key]; |
| 1340 | for(; walk; walk = walk->mHashNext) |
| 1341 | { |
| 1342 | if( walk->mTextureLookupName.equal( name, String::NoCase ) ) |
| 1343 | break; |
| 1344 | } |
| 1345 | |
| 1346 | return walk; |
| 1347 | } |
| 1348 | |
| 1349 | void GFXTextureManager::freeTexture(GFXTextureObject *texture, bool zombify) |
| 1350 | { |
nothing calls this directly
no test coverage detected