message: Don't delete from m_CurrentResources when removing resource record
  * This is handled when the resource is destroyed itself, we just NULL out the
  pointer.
diff: @@ -133,13 +133,13 @@ public:
  inline void RemoveResourceRecord(ResourceId id)
  {
  - for(auto it = m_CurrentResources.begin(); it != m_CurrentResources.end(); it++)
  - {
  - if(it->second.first == id)
  + GLResourceRecord *record = ResourceManager::GetResourceRecord(id);
  +
  + if(record)
  {
  - m_CurrentResources.erase(it);
  - break;
  - }
  + auto it = m_CurrentResources.find(record->Resource);
  + if(it != m_CurrentResources.end())
  + it->second.second = NULL;
  }
  ResourceManager::RemoveResourceRecord(id);
  