diff options
Diffstat (limited to 'source/blender/render/intern/texture_image.c')
-rw-r--r-- | source/blender/render/intern/texture_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/texture_image.c b/source/blender/render/intern/texture_image.c index edfa284242c..dfeaec2341e 100644 --- a/source/blender/render/intern/texture_image.c +++ b/source/blender/render/intern/texture_image.c @@ -959,7 +959,7 @@ static void alpha_clip_aniso( /* TXF alpha: we're doing the same alpha-clip here as box-sample, but I'm doubting * if this is actually correct for the all the filtering algorithms. */ - if (!(extflag == TXC_REPT || extflag == TXC_EXTD)) { + if (!(ELEM(extflag, TXC_REPT, TXC_EXTD))) { rf.xmin = minx * (ibuf->x); rf.xmax = maxx * (ibuf->x); rf.ymin = miny * (ibuf->y); |