Adding the proper #include <limits.h> for Linux when using
INT_MAX and/or UINT_MAX.
Fixed ShaderCore.cpp and preemptively fixed libGLESv3.cpp.
Change-Id: Iedd445157f3de8c08394e6d2c9f99539eb123845
Reviewed-on: https://swiftshader-review.googlesource.com/3933
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
#include <GLES3/gl3.h>\r
#include <GLES2/gl2ext.h>\r
\r
+#include <limits.h>\r
+\r
using namespace es2;\r
\r
typedef std::pair<GLenum, GLenum> InternalFormatTypePair;\r
#include "Renderer/Renderer.hpp"
#include "Common/Debug.hpp"
+#include <limits.h>
+
namespace sw
{
extern TranscendentalPrecision logPrecision;