diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-15 16:25:40 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-15 16:25:40 +0100 |
commit | 4935493f720b0c4e925b0643960b5949bedae0c7 (patch) | |
tree | 5b8ce90433e95536b610a8bd50349af9f0696f2a /scene/resources | |
parent | 7b3c1a0a83edfe9448b93f9bd3c832134d8d4ddd (diff) | |
parent | da132f32665244a42f58bb4abb555c2202688cce (diff) |
Merge pull request #67948 from DeeJayLSP/split_webp
Overhaul WebP packer and split compression options
Diffstat (limited to 'scene/resources')
-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 a6fb359051..b5754caa6a 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); |