Removed compilation warning nullptr check in image engine.
This commit is contained in:
parent
ffd3dd6376
commit
52f4a908f7
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue