Commit cbd20d9d by Nicolas Capens Committed by Nicolas Capens

Fix build issues.

Change-Id: I93171764df5e13a7a5be6a9116e1a5db1ed59ad5 Reviewed-on: https://swiftshader-review.googlesource.com/15268Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 4ddd5c5e
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "ParseHelper.h" #include "ParseHelper.h"
#include <limits>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -105,6 +105,7 @@ ...@@ -105,6 +105,7 @@
#include <stdlib.h> #include <stdlib.h>
#endif #endif
#include <limits>
#include <cassert> #include <cassert>
#include <sstream> #include <sstream>
#include <stdint.h> #include <stdint.h>
......
...@@ -55,6 +55,7 @@ WHICH GENERATES THE GLSL ES preprocessor expression parser. ...@@ -55,6 +55,7 @@ WHICH GENERATES THE GLSL ES preprocessor expression parser.
#include <stdlib.h> #include <stdlib.h>
#endif #endif
#include <limits>
#include <cassert> #include <cassert>
#include <sstream> #include <sstream>
#include <stdint.h> #include <stdint.h>
......
...@@ -1665,7 +1665,7 @@ namespace es2 ...@@ -1665,7 +1665,7 @@ namespace es2
return attribute.location; return attribute.location;
} }
std::unordered_map<std::string, GLuint>::const_iterator it = linkedAttributeLocation.find(attribute.name); std::map<std::string, GLuint>::const_iterator it = linkedAttributeLocation.find(attribute.name);
if(it != linkedAttributeLocation.end()) if(it != linkedAttributeLocation.end())
{ {
return it->second; return it->second;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment