diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-13 15:00:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-13 15:00:07 +0300 |
commit | 2d32b92d77bf0c0f5fc3827277d26a26bbbb2580 (patch) | |
tree | 3da1b5f3e18ae16ae9162eb300ff4416dad1931c /source/blender/render | |
parent | e142ae77cadf04103fbc643f21cf60891862f6a8 (diff) |
Cleanup: IMB prefix for ImBuf defines
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/imagetexture.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/render/intern/source/imagetexture.c b/source/blender/render/intern/source/imagetexture.c index 687e25a9410..b44c0135420 100644 --- a/source/blender/render/intern/source/imagetexture.c +++ b/source/blender/render/intern/source/imagetexture.c @@ -1145,7 +1145,7 @@ static int imagewraposa_aniso(Tex *tex, Image *ima, ImBuf *ibuf, const float tex ImBuf *previbuf, *curibuf; float levf; int maxlev; - ImBuf *mipmaps[IB_MIPMAP_LEVELS + 1]; + ImBuf *mipmaps[IMB_MIPMAP_LEVELS + 1]; /* modify ellipse minor axis if too eccentric, use for area sampling as well * scaling dxt/dyt as done in pbrt is not the same @@ -1185,7 +1185,7 @@ static int imagewraposa_aniso(Tex *tex, Image *ima, ImBuf *ibuf, const float tex curmap = 0; maxlev = 1; mipmaps[0] = ibuf; - while (curmap < IB_MIPMAP_LEVELS) { + while (curmap < IMB_MIPMAP_LEVELS) { mipmaps[curmap + 1] = ibuf->mipmap[curmap]; if (ibuf->mipmap[curmap]) maxlev++; curmap++; @@ -1585,7 +1585,7 @@ int imagewraposa(Tex *tex, Image *ima, ImBuf *ibuf, const float texvec[3], const curmap= 0; previbuf= curibuf= ibuf; - while (curmap<IB_MIPMAP_LEVELS && ibuf->mipmap[curmap]) { + while (curmap < IMB_MIPMAP_LEVELS && ibuf->mipmap[curmap]) { if (maxd < pixsize) break; previbuf= curibuf; curibuf= ibuf->mipmap[curmap]; |