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 /drivers/gles3 | |
parent | 1abb5ebf6532944a9fd0d1acf9ad61a0df1bb0ed (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.cpp | 2 |
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); |