diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-06-08 14:14:18 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-06-08 14:14:18 +0300 |
commit | 23fd576cf8adb4269d40110e0d5e893e464af6a1 (patch) | |
tree | 468bb4ee8d4581b9acc77d4e34704b322af2d210 /source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_tris.cc | |
parent | 43464c94f4def8689dd99a9e459f5ff77420d27b (diff) |
Cleanup: replace NULL with nullptr.
Diffstat (limited to 'source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_tris.cc')
-rw-r--r-- | source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_tris.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_tris.cc b/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_tris.cc index ca99aa2ee38..a52fb69e904 100644 --- a/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_tris.cc +++ b/source/blender/draw/intern/mesh_extractors/extract_mesh_ibo_tris.cc @@ -150,7 +150,7 @@ static void extract_tris_finish(const MeshRenderData *mr, for (int i = 0; i < mr->mat_len; i++) { /* These IBOs have not been queried yet but we create them just in case they are needed * later since they are not tracked by mesh_buffer_cache_create_requested(). */ - if (mbc_final->tris_per_mat[i] == NULL) { + if (mbc_final->tris_per_mat[i] == nullptr) { mbc_final->tris_per_mat[i] = GPU_indexbuf_calloc(); } /* Multiply by 3 because these are triangle indices. */ |