Replaced set with unordered_set.
This commit is contained in:
parent
37d720abd4
commit
6146f08183
@ -93,11 +93,13 @@ namespace tinystl
|
||||
|
||||
# include <TINYSTL/string.h>
|
||||
# include <TINYSTL/unordered_map.h>
|
||||
# include <TINYSTL/unordered_set.h>
|
||||
namespace stl = tinystl;
|
||||
#else
|
||||
namespace std { namespace tr1 {} using namespace tr1; } // namespace std
|
||||
# include <string>
|
||||
# include <unordered_map>
|
||||
# include <unordered_set>
|
||||
namespace stl = std;
|
||||
#endif // BGFX_CONFIG_USE_TINYSTL
|
||||
#include <list>
|
||||
|
@ -165,7 +165,6 @@ typedef void (*PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)(GLuint shader, GLsizei b
|
||||
# include "glcontext_wgl.h"
|
||||
#endif // BGFX_USE_WGL
|
||||
|
||||
|
||||
#ifndef GL_APIENTRY
|
||||
# define GL_APIENTRY APIENTRY
|
||||
#endif // GL_APIENTRY
|
||||
@ -178,8 +177,6 @@ typedef void (*PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)(GLuint shader, GLsizei b
|
||||
# define glClearDepth glClearDepthf
|
||||
#endif // !BGFX_CONFIG_RENDERER_OPENGL
|
||||
|
||||
#include <set>
|
||||
|
||||
namespace bgfx
|
||||
{
|
||||
typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORBGFXPROC)(GLuint _index, GLuint _divisor);
|
||||
@ -303,7 +300,7 @@ namespace bgfx
|
||||
m_vaoSet.clear();
|
||||
}
|
||||
|
||||
typedef stl::set<uint32_t> VaoSet;
|
||||
typedef stl::unordered_set<uint32_t> VaoSet;
|
||||
VaoSet m_vaoSet;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user