diff options
author | DeeJayLSP <djlsplays@gmail.com> | 2022-10-31 10:25:04 -0300 |
---|---|---|
committer | DeeJayLSP <djlsplays@gmail.com> | 2022-11-15 11:52:22 -0300 |
commit | da132f32665244a42f58bb4abb555c2202688cce (patch) | |
tree | afeb924bccf653b664d287024ab7b94ef8f61947 /scene | |
parent | 6a9317c9fc8f943586a8cbe6d0d6be6e356add28 (diff) |
Overhaul WebP packer and split compression options
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/texture.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp index 5232e8fcab..67e23a14ca 100644 --- a/scene/resources/texture.cpp +++ b/scene/resources/texture.cpp @@ -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); |