| 1313 | } |
| 1314 | |
| 1315 | void GFXTextureManager::hashRemove( GFXTextureObject *object ) |
| 1316 | { |
| 1317 | if ( object->mTextureLookupName.isEmpty() ) |
| 1318 | return; |
| 1319 | |
| 1320 | U32 key = object->mTextureLookupName.getHashCaseInsensitive() % mHashCount; |
| 1321 | GFXTextureObject **walk = &mHashTable[key]; |
| 1322 | while(*walk) |
| 1323 | { |
| 1324 | if(*walk == object) |
| 1325 | { |
| 1326 | *walk = object->mHashNext; |
| 1327 | break; |
| 1328 | } |
| 1329 | walk = &((*walk)->mHashNext); |
| 1330 | } |
| 1331 | } |
| 1332 | |
| 1333 | GFXTextureObject* GFXTextureManager::hashFind( const String &name ) |
| 1334 | { |
nothing calls this directly
no test coverage detected