LLGLState::sStateMap now using hash map (boost::unordered_map) opposed to std::map

This commit is contained in:
Shyotl
2011-03-24 05:03:21 -05:00
parent 23e1521a6b
commit 0150bac422
2 changed files with 28 additions and 4 deletions

View File

@@ -36,6 +36,7 @@
// This file contains various stuff for handling gl extensions and other gl related stuff.
#include <string>
#include <boost/unordered_map.hpp>
#include <map>
#include "llerror.h"
@@ -233,7 +234,7 @@ public:
static void checkClientArrays(const std::string& msg = "", U32 data_mask = 0x0001);
protected:
static std::map<LLGLenum, LLGLboolean> sStateMap;
static boost::unordered_map<LLGLenum, LLGLboolean> sStateMap;
public:
enum { CURRENT_STATE = -2 };