Replaced std::map with std::unordered_map
Not possible yet with NzString-key map Former-commit-id: faa628a1c9c10e7bc009bf5a67e112ad5f873bd8
This commit is contained in:
@@ -8,11 +8,12 @@
|
||||
#include <Nazara/Renderer/Config.hpp>
|
||||
#include <Nazara/Renderer/Renderer.hpp>
|
||||
#include <Nazara/Renderer/Texture.hpp>
|
||||
#include <unordered_map>
|
||||
#include <Nazara/Renderer/Debug.hpp>
|
||||
|
||||
namespace
|
||||
{
|
||||
std::map<nzUInt32, GLuint> s_samplers;
|
||||
std::unordered_map<nzUInt32, GLuint> s_samplers;
|
||||
nzUInt8 s_maxAnisotropyLevel;
|
||||
bool s_useAnisotropicFilter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user