Use map for sorted name texture (easier for debug)
This commit is contained in:
parent
8c609c87d9
commit
95c12faa10
@ -29,11 +29,11 @@
|
|||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <unordered_map>
|
|
||||||
|
|
||||||
#include "irrString.h"
|
#include "irrString.h"
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ class SPTextureManager : public NoCopy
|
|||||||
private:
|
private:
|
||||||
static SPTextureManager* m_sptm;
|
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;
|
std::atomic_uint m_max_threaded_load_obj;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user