diff options
Diffstat (limited to 'source/blender/blenkernel/intern/image.c')
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c index a906a6d37de..ef760f2da26 100644 --- a/source/blender/blenkernel/intern/image.c +++ b/source/blender/blenkernel/intern/image.c @@ -1099,7 +1099,7 @@ static uintptr_t image_mem_size(Image *image) size += MEM_allocN_len(ibuf->rect_float); } - for (level = 0; level < IB_MIPMAP_LEVELS; level++) { + for (level = 0; level < IMB_MIPMAP_LEVELS; level++) { ibufm = ibuf->mipmap[level]; if (ibufm) { if (ibufm->rect) { |