Use a regular STL map instead of unordered_map.

Older branches of Android don't support std::unordered_map.

Bug 28006371

Change-Id: I162249db3b7ee9537c7143768c6c1ec216392cba
Reviewed-on: https://swiftshader-review.googlesource.com/5045
Reviewed-by: Bo Hu <bohu@google.com>
Tested-by: Nicolas Capens <capn@google.com>
(cherry picked from commit db4fee2752c3b440933fd89078e35b3781c211ce)
Reviewed-on: https://swiftshader-review.googlesource.com/5047
Reviewed-by: Nicolas Capens <capn@google.com>
diff --git a/src/OpenGL/common/NameSpace.hpp b/src/OpenGL/common/NameSpace.hpp
index c4ffcd1..3b5417c 100644
--- a/src/OpenGL/common/NameSpace.hpp
+++ b/src/OpenGL/common/NameSpace.hpp
@@ -18,7 +18,7 @@
 #include "Object.hpp"

 #include "debug.h"

 

-#include <unordered_map>

+#include <map>

 

 namespace gl

 {

@@ -109,7 +109,7 @@
 	}

 

 private:

-	typedef std::unordered_map<GLuint, ObjectType*> Map;

+	typedef std::map<GLuint, ObjectType*> Map;

 	Map map;

 

 	GLuint freeName;   // Lowest known potentially free name