diff --git a/include/gal/opengl/opengl_gal.h b/include/gal/opengl/opengl_gal.h index 928d210825..97ddadc69c 100644 --- a/include/gal/opengl/opengl_gal.h +++ b/include/gal/opengl/opengl_gal.h @@ -41,7 +41,7 @@ #include -#include +#include #include #include @@ -299,7 +299,7 @@ private: static GLuint fontTexture; ///< Bitmap font texture handle (shared) // Vertex buffer objects related fields - typedef std::map< unsigned int, std::shared_ptr > GROUPS_MAP; + typedef std::unordered_map< unsigned int, std::shared_ptr > GROUPS_MAP; GROUPS_MAP groups; ///< Stores informations about VBO objects (groups) unsigned int groupCounter; ///< Counter used for generating keys for groups VERTEX_MANAGER* currentManager; ///< Currently used VERTEX_MANAGER (for storing VERTEX_ITEMs)