summaryrefslogtreecommitdiff
path: root/drivers/gles3
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 /drivers/gles3
parent1abb5ebf6532944a9fd0d1acf9ad61a0df1bb0ed (diff)
Style: Apply clang-tidy to current code, add `readability-redundant-member-init`
Diffstat (limited to 'drivers/gles3')
-rw-r--r--drivers/gles3/texture_loader_gles3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/texture_loader_gles3.cpp b/drivers/gles3/texture_loader_gles3.cpp
index f8d4cfdc61..8c8724686d 100644
--- a/drivers/gles3/texture_loader_gles3.cpp
+++ b/drivers/gles3/texture_loader_gles3.cpp
@@ -52,7 +52,7 @@ RES ResourceFormatGLES2Texture::load(const String &p_path, const String &p_origi
uint8_t **row_p = memnew_arr(uint8_t *, height);
for (unsigned int i = 0; i < height; i++) {
- row_p[i] = 0; //No colors any more, I want them to turn black
+ row_p[i] = nullptr; // No colors any more, I want them to turn black.
}
memdelete_arr(row_p);