Commit 58a86fa5 authored by Nicolas Robidoux's avatar Nicolas Robidoux Committed by Øyvind "pippin" Kolås

lohalo: stricter checks for higher mipmap use

parent dd834d2e
......@@ -2194,13 +2194,13 @@ gegl_sampler_lohalo_get ( GeglSampler* restrict self,
const gfloat theta = (gfloat) ( (gdouble) 1. / ellipse_f );
if (
( x_0 - fudged_bounding_box_half_width <= closest_left )
( x_0 - fudged_bounding_box_half_width < closest_left )
||
( x_0 + fudged_bounding_box_half_width >= closest_rite )
( x_0 + fudged_bounding_box_half_width > closest_rite )
||
( y_0 - fudged_bounding_box_half_height <= closest_top )
( y_0 - fudged_bounding_box_half_height < closest_top )
||
( y_0 + fudged_bounding_box_half_height >= closest_bot )
( y_0 + fudged_bounding_box_half_height > closest_bot )
)
{
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment