Removed compilation warning nullptr check in image engine.

This commit is contained in:
Jeroen Bakker 2021-11-02 12:00:07 +01:00
parent ffd3dd6376
commit 52f4a908f7
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}