Browse Source

OSX: Fixing build.

Branimir Karadžić 7 years ago
parent
commit
985f0b2436
1 changed files with 2 additions and 2 deletions
  1. 2 2
      3rdparty/glslang/hlsl/hlslParseHelper.cpp

+ 2 - 2
3rdparty/glslang/hlsl/hlslParseHelper.cpp

@@ -7446,8 +7446,8 @@ const TFunction* HlslParseContext::findFunction(const TSourceLoc& loc, TFunction
             }
         };
 
-        return std::abs(linearize(to2.getBasicType()) - linearize(from.getBasicType())) <
-               std::abs(linearize(to1.getBasicType()) - linearize(from.getBasicType()));
+        return abs(linearize(to2.getBasicType()) - linearize(from.getBasicType())) <
+               abs(linearize(to1.getBasicType()) - linearize(from.getBasicType()));
     };
 
     // for ambiguity reporting