You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user