Overhaul WebP packer and split compression options

This commit is contained in:
DeeJayLSP
2022-10-31 10:25:04 -03:00
parent 6a9317c9fc
commit da132f3266
6 changed files with 34 additions and 38 deletions

View File

@@ -64,6 +64,7 @@ bool Texture2D::is_pixel_opaque(int p_x, int p_y) const {
GDVIRTUAL_CALL(_is_pixel_opaque, p_x, p_y, ret);
return ret;
}
bool Texture2D::has_alpha() const {
bool ret = true;
GDVIRTUAL_CALL(_has_alpha, ret);