Remove use of bool32 replay API type&optimise mem layout in some structs

This commit is contained in:
baldurk
2017-08-24 10:44:45 +01:00
parent e85c8d19bf
commit 40a0272a3e
28 changed files with 327 additions and 262 deletions
+1 -1
View File
@@ -770,7 +770,7 @@ ShaderVariable FormatElement::GetShaderVar(const byte *&data, const byte *end) c
if(format.compType == CompType::Double)
ret.type = VarType::Double;
ret.columns = qMin(format.compCount, 4U);
ret.columns = qMin(format.compCount, uint8_t(4));
ret.rows = qMin(matrixdim, 4U);
ret.displayAsHex = hex;