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
@@ -966,7 +966,7 @@ dds_data load_dds_from_file(FILE *f)
}
ret.format.compByteWidth = 1;
ret.format.compCount = header.ddspf.dwRGBBitCount / 8;
ret.format.compCount = uint8_t(header.ddspf.dwRGBBitCount / 8);
ret.format.compType = CompType::UNorm;
ret.format.type = ResourceFormatType::Regular;