Merge pull request #10846 from hpvb/fix-sign-compare
Fix signed and unsigned comparisons
This commit is contained in:
commit
dac150108a
34 changed files with 105 additions and 105 deletions
|
|
@ -117,7 +117,7 @@ static void _compress_etc(Image *p_img, float p_lossy_quality, bool force_etc1_f
|
|||
return;
|
||||
}
|
||||
|
||||
int imgw = p_img->get_width(), imgh = p_img->get_height();
|
||||
uint32_t imgw = p_img->get_width(), imgh = p_img->get_height();
|
||||
ERR_FAIL_COND(next_power_of_2(imgw) != imgw || next_power_of_2(imgh) != imgh);
|
||||
|
||||
Image::Format etc_format = force_etc1_format ? Image::FORMAT_ETC : _get_etc2_mode(detected_channels);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue