mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
OSX: Fixing build.
This commit is contained in:
4
3rdparty/glslang/hlsl/hlslParseHelper.cpp
vendored
4
3rdparty/glslang/hlsl/hlslParseHelper.cpp
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user