Commit d5c31dab by Alexis Hetu Committed by Alexis Hétu

Build fix for Linux

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/3933Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent c4f2c297
......@@ -23,6 +23,8 @@
#include <GLES3/gl3.h>
#include <GLES2/gl2ext.h>
#include <limits.h>
using namespace es2;
typedef std::pair<GLenum, GLenum> InternalFormatTypePair;
......
......@@ -14,6 +14,8 @@
#include "Renderer/Renderer.hpp"
#include "Common/Debug.hpp"
#include <limits.h>
namespace sw
{
extern TranscendentalPrecision logPrecision;
......
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