diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-03-12 09:40:40 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-03-12 10:59:53 -0500 |
commit | 3b3e2374c9e5f73de76b353f3607c52b864d1e69 (patch) | |
tree | 340733687864525f67dfa0ebd83d435e61891a29 /modules/ktx | |
parent | b18942d429c23112c3e01aa1649c1704eaf86d0d (diff) | |
download | redot-engine-3b3e2374c9e5f73de76b353f3607c52b864d1e69.tar.gz |
clang-tidy: Enforce `modernize-use-nullptr`
Diffstat (limited to 'modules/ktx')
-rw-r--r-- | modules/ktx/texture_loader_ktx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ktx/texture_loader_ktx.cpp b/modules/ktx/texture_loader_ktx.cpp index 026c0ce510..7c73f9cb8a 100644 --- a/modules/ktx/texture_loader_ktx.cpp +++ b/modules/ktx/texture_loader_ktx.cpp @@ -90,7 +90,7 @@ static Ref<Image> load_from_file_access(Ref<FileAccess> f, Error *r_error) { ktx_stream.destruct = ktx_destruct; ktx_stream.type = eStreamTypeCustom; ktx_stream.data.custom_ptr.address = &f; - ktx_stream.data.custom_ptr.allocatorAddress = NULL; + ktx_stream.data.custom_ptr.allocatorAddress = nullptr; ktx_stream.data.custom_ptr.size = 0; ktx_stream.readpos = 0; ktx_stream.closeOnDestruct = false; |