Merge pull request #748 from dgkoch/dgkoch_build_fixes2
More build fixes
This commit is contained in:
commit
c18cae2145
@ -5178,7 +5178,7 @@ TType* HlslParseContext::getStructBufferContentType(const TType& type) const
|
||||
if (type.getBasicType() != EbtBlock)
|
||||
return nullptr;
|
||||
|
||||
const int memberCount = type.getStruct()->size();
|
||||
const int memberCount = (int)type.getStruct()->size();
|
||||
assert(memberCount > 0);
|
||||
|
||||
TType* contentType = (*type.getStruct())[memberCount-1].type;
|
||||
|
Loading…
x
Reference in New Issue
Block a user