diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-11-02 14:00:07 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-11-02 14:00:07 +0300 |
commit | 52f4a908f7117a3e2a0d5b3de78c6c72f2a599e5 (patch) | |
tree | b970d9db0a452d5013d232bd0d47aa945b1ad049 /source | |
parent | ffd3dd63769c8e97eceda54c8fa4067d872655be (diff) |
Removed compilation warning nullptr check in image engine.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/image/image_engine.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/image/image_engine.cc b/source/blender/draw/engines/image/image_engine.cc index d09c4223410..776639f5224 100644 --- a/source/blender/draw/engines/image/image_engine.cc +++ b/source/blender/draw/engines/image/image_engine.cc @@ -109,7 +109,7 @@ static void space_image_gpu_texture_get(Image *image, { const DRWContextState *draw_ctx = DRW_context_state_get(); SpaceImage *sima = (SpaceImage *)draw_ctx->space_data; - if (image->rr != NULL) { + if (image->rr != nullptr) { /* Update multi-index and pass for the current eye. */ BKE_image_multilayer_index(image->rr, &sima->iuser); } |