Initialize class/struct variables with default values in modules/
This commit is contained in:
parent
57e2822a05
commit
f7209b459b
100 changed files with 533 additions and 772 deletions
|
|
@ -69,11 +69,11 @@ enum DDSFormat {
|
|||
|
||||
struct DDSFormatInfo {
|
||||
const char *name;
|
||||
bool compressed;
|
||||
bool palette;
|
||||
uint32_t divisor;
|
||||
uint32_t block_size;
|
||||
Image::Format format;
|
||||
bool compressed = false;
|
||||
bool palette = false;
|
||||
uint32_t divisor = 0;
|
||||
uint32_t block_size = 0;
|
||||
Image::Format format = Image::Format::FORMAT_BPTC_RGBA;
|
||||
};
|
||||
|
||||
static const DDSFormatInfo dds_format_info[DDS_MAX] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue