Use map for sorted name texture (easier for debug)

This commit is contained in:
Benau 2018-01-23 11:55:54 +08:00
parent 8c609c87d9
commit 95c12faa10

View File

@ -29,11 +29,11 @@
#include <condition_variable>
#include <functional>
#include <list>
#include <map>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <unordered_map>
#include "irrString.h"
@ -48,7 +48,7 @@ class SPTextureManager : public NoCopy
private:
static SPTextureManager* m_sptm;
std::unordered_map<std::string, std::shared_ptr<SPTexture> > m_textures;
std::map<std::string, std::shared_ptr<SPTexture> > m_textures;
std::atomic_uint m_max_threaded_load_obj;