diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2019-11-07 09:44:15 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-02-05 11:13:24 +0100 |
commit | f0db13502aa455f7bef320261ea3929589fcc6d9 (patch) | |
tree | 3785b3fd7a816a2148b6b7e68b24f56e30545bd6 /core/image.cpp | |
parent | 5af3b4ca279c6dac32a8aef45d5d4a5b27fdb718 (diff) | |
download | redot-engine-f0db13502aa455f7bef320261ea3929589fcc6d9.tar.gz |
Remove duplicate WARN_PRINT macro.
Diffstat (limited to 'core/image.cpp')
-rw-r--r-- | core/image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/image.cpp b/core/image.cpp index f43c26ab19..09b07bba13 100644 --- a/core/image.cpp +++ b/core/image.cpp @@ -1879,7 +1879,7 @@ Image::AlphaMode Image::detect_alpha() const { Error Image::load(const String &p_path) { #ifdef DEBUG_ENABLED if (p_path.begins_with("res://") && ResourceLoader::exists(p_path)) { - WARN_PRINTS("Loaded resource as image file, this will not work on export: '" + p_path + "'. Instead, import the image file as an Image resource and load it normally as a resource."); + WARN_PRINT("Loaded resource as image file, this will not work on export: '" + p_path + "'. Instead, import the image file as an Image resource and load it normally as a resource."); } #endif return ImageLoader::load_image(p_path, this); |