mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Style: Enforce use of bool literals instead of integers
Using clang-tidy's `modernize-use-bool-literals`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
This commit is contained in:
parent
a828398655
commit
b4af1eba0a
29 changed files with 47 additions and 47 deletions
|
@ -784,7 +784,7 @@ Ref<Texture> CurvePreviewGenerator::generate(const Ref<Resource> &p_from, const
|
|||
img_ref.instance();
|
||||
Image &im = **img_ref;
|
||||
|
||||
im.create(thumbnail_size, thumbnail_size / 2, 0, Image::FORMAT_RGBA8);
|
||||
im.create(thumbnail_size, thumbnail_size / 2, false, Image::FORMAT_RGBA8);
|
||||
|
||||
im.lock();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue