Update boo

This commit is contained in:
Jack Andersen 2018-06-11 15:16:00 -10:00
parent 11f6617c2f
commit eff677ca20
2 changed files with 2 additions and 2 deletions

2
hecl/extern/boo vendored

@ -1 +1 @@
Subproject commit 2a45cf90d8be3f1592da8dfc326f91029ae3d972 Subproject commit abbd3167b2a28625ec57b0659a77fc4fcfd60d70

View File

@ -390,7 +390,7 @@ std::string Metal::makeFrag(size_t blockCount, const char** blockNames, bool alp
{ {
if (lighting.m_entry) if (lighting.m_entry)
{ {
retval += " float4 lighting = " + lightingEntry + "(" + blockCall + ", vtf.mvPos, vtf.mvNorm, vtf" + retval += " float4 lighting = " + lightingEntry + "(" + blockCall + ", vtf.mvPos.xyz, normalize(vtf.mvNorm.xyz), vtf" +
(!strncmp(lighting.m_entry, "EXT", 3) ? (extTexCall.size() ? (", samp, clampSamp," + extTexCall) : "") : "") + ");\n"; (!strncmp(lighting.m_entry, "EXT", 3) ? (extTexCall.size() ? (", samp, clampSamp," + extTexCall) : "") : "") + ");\n";
} }
else else