Explicitly convert signed to unsigned value
This commit is contained in:
parent
d9b07faad2
commit
92fa2bac23
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ Error ResourceImporterTexture::import(const String &p_source_file, const String
|
||||||
float lossy = p_options["compress/lossy_quality"];
|
float lossy = p_options["compress/lossy_quality"];
|
||||||
int pack_channels = p_options["compress/channel_pack"];
|
int pack_channels = p_options["compress/channel_pack"];
|
||||||
bool mipmaps = p_options["mipmaps/generate"];
|
bool mipmaps = p_options["mipmaps/generate"];
|
||||||
uint32_t mipmap_limit = int(mipmaps ? int(p_options["mipmaps/limit"]) : int(-1));
|
uint32_t mipmap_limit = mipmaps ? uint32_t(p_options["mipmaps/limit"]) : uint32_t(-1);
|
||||||
bool fix_alpha_border = p_options["process/fix_alpha_border"];
|
bool fix_alpha_border = p_options["process/fix_alpha_border"];
|
||||||
bool premult_alpha = p_options["process/premult_alpha"];
|
bool premult_alpha = p_options["process/premult_alpha"];
|
||||||
bool normal_map_invert_y = p_options["process/normal_map_invert_y"];
|
bool normal_map_invert_y = p_options["process/normal_map_invert_y"];
|
||||||
|
|
Loading…
Reference in a new issue