From da132f32665244a42f58bb4abb555c2202688cce Mon Sep 17 00:00:00 2001 From: DeeJayLSP Date: Mon, 31 Oct 2022 10:25:04 -0300 Subject: Overhaul WebP packer and split compression options --- scene/resources/texture.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene') 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); -- cgit v1.2.3