Commit c18cae21 by John Kessenich Committed by GitHub

Merge pull request #748 from dgkoch/dgkoch_build_fixes2

More build fixes
parents 854fe247 d9b7a850
...@@ -5178,7 +5178,7 @@ TType* HlslParseContext::getStructBufferContentType(const TType& type) const ...@@ -5178,7 +5178,7 @@ TType* HlslParseContext::getStructBufferContentType(const TType& type) const
if (type.getBasicType() != EbtBlock) if (type.getBasicType() != EbtBlock)
return nullptr; return nullptr;
const int memberCount = type.getStruct()->size(); const int memberCount = (int)type.getStruct()->size();
assert(memberCount > 0); assert(memberCount > 0);
TType* contentType = (*type.getStruct())[memberCount-1].type; TType* contentType = (*type.getStruct())[memberCount-1].type;
......
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