summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-04-04 18:49:05 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-04-04 21:49:51 +0200
commitb78aa4fe1925a6dd14324fee98c512d56e36a255 (patch)
treef4f2c20380a8f1625159b5a4d56a99694ee5d7ac /scene/resources
parent1abb5ebf6532944a9fd0d1acf9ad61a0df1bb0ed (diff)
Style: Apply clang-tidy to current code, add `readability-redundant-member-init`
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/texture.cpp2
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 {