2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-20 12:59:12 +00:00

macOS build fixes

This commit is contained in:
Jack Andersen
2018-10-15 17:15:05 -10:00
parent 61a50aa57e
commit d395f4a79e
12 changed files with 252 additions and 163 deletions

View File

@@ -214,7 +214,8 @@ std::string HLSL::makeVert(unsigned col, unsigned uv, unsigned w,
"}\n";
}
std::string HLSL::makeFrag(bool alphaTest, ReflectionType reflectionType,
std::string HLSL::makeFrag(size_t blockCount, const char** blockNames,
bool alphaTest, ReflectionType reflectionType,
const Function& lighting) const
{
std::string lightingSrc;
@@ -271,7 +272,8 @@ std::string HLSL::makeFrag(bool alphaTest, ReflectionType reflectionType,
return retval + (alphaTest ? GenerateAlphaTest() : "") + " return colorOut;\n}\n";
}
std::string HLSL::makeFrag(bool alphaTest, ReflectionType reflectionType,
std::string HLSL::makeFrag(size_t blockCount, const char** blockNames,
bool alphaTest, ReflectionType reflectionType,
const Function& lighting,
const Function& post, size_t extTexCount,
const TextureInfo* extTexs) const