mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-31 20:01:12 +00:00
Remove use of bool32 replay API type&optimise mem layout in some structs
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user