| 1303 | } |
| 1304 | |
| 1305 | void GFXTextureManager::hashInsert( GFXTextureObject *object ) |
| 1306 | { |
| 1307 | if ( object->mTextureLookupName.isEmpty() ) |
| 1308 | return; |
| 1309 | |
| 1310 | U32 key = object->mTextureLookupName.getHashCaseInsensitive() % mHashCount; |
| 1311 | object->mHashNext = mHashTable[key]; |
| 1312 | mHashTable[key] = object; |
| 1313 | } |
| 1314 | |
| 1315 | void GFXTextureManager::hashRemove( GFXTextureObject *object ) |
| 1316 | { |
nothing calls this directly
no test coverage detected