mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
@ -39,7 +39,7 @@
|
|||
#include <webp/encode.h>
|
||||
|
||||
static Vector<uint8_t> _webp_lossy_pack(const Ref<Image> &p_image, float p_quality) {
|
||||
ERR_FAIL_COND_V(p_image.is_null() || p_image->empty(), Vector<uint8_t>());
|
||||
ERR_FAIL_COND_V(p_image.is_null() || p_image->is_empty(), Vector<uint8_t>());
|
||||
|
||||
Ref<Image> img = p_image->duplicate();
|
||||
if (img->detect_alpha()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue