Commit 32894b28 by John Kessenich

Merge branch 'vs2013_compile_fix_dang' into 'master'

Fix a compile error on VS2013 when including from a project that includes window… …s.h and does not define NOMINMAX (http://stackoverflow.com/questions/2789481/problem-calling-stdmax) 1>h:\dev\source2\main\src\thirdparty\glslang\glslang\include\intermediate.h(908): error C2589: '(' : illegal token on right side of '::' (vulkan\renderdevicevulkan.cpp) 1>h:\dev\source2\main\src\thirdparty\glslang\glslang\include\intermediate.h(908): error C2059: syntax error : '::' (vulkan\renderdevicevulkan.cpp) See merge request !8
parents b9fc6c3b b3266434
......@@ -905,7 +905,7 @@ public:
void incrementDepth(TIntermNode *current)
{
depth++;
maxDepth = std::max(maxDepth, depth);
maxDepth = (std::max)(maxDepth, depth);
path.push_back(current);
}
......
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