Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9dda365d authored by Rajeev Sharma's avatar Rajeev Sharma
Browse files

Add missed line in fisheye.rsh

Typo fix.  Previously unnoticed as filter was only tested with default image.

Change-Id: I482036cdf78ef660845eca82fb62cf697f5a8eff
parent 21e8f7ae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ void init_filter(uint32_t dim_x, uint32_t dim_y, float focus_x, float focus_y, f
    } else {
        scale.x = dimensions.x / dimensions.y;
        scale.y = 1.0;
        bound2 *= (scale.x*scale.x + 1);
    }
    const float bound = sqrt(bound2);
    const float radius = 1.15 * bound;