diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-04-04 18:49:05 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-04-04 21:49:51 +0200 |
commit | b78aa4fe1925a6dd14324fee98c512d56e36a255 (patch) | |
tree | f4f2c20380a8f1625159b5a4d56a99694ee5d7ac /scene/resources | |
parent | 1abb5ebf6532944a9fd0d1acf9ad61a0df1bb0ed (diff) |
Style: Apply clang-tidy to current code, add `readability-redundant-member-init`
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp index a66d9d9f27..44da90de30 100644 --- a/scene/resources/texture.cpp +++ b/scene/resources/texture.cpp @@ -1142,7 +1142,7 @@ bool Texture3D::has_mipmaps() const { if (GDVIRTUAL_REQUIRED_CALL(_has_mipmaps, ret)) { return ret; } - return 0; + return false; } Vector<Ref<Image>> Texture3D::get_data() const { |