On 2025-12-02 23:47, Brian Lindholm wrote:
As a follow-up to my previous bug report, I'm also sending in a minor enhancement to the _DrawGradient() function in src/lib/grad.c.  The logic in today's code results in significant portions of the screen being filled in with a uniform color as opposed to a gradient when an angle is used.  The attached patch "stretches" the gradient from corner to corner, providing a gradient across the entire screen.  [And like my previous patch, a some casts to (unsigned long int) were required to avoid integer overflow issues.]

Hello Brian,

I have pushed a patch, basically doing as suggested, but dealing with the i variable range limiting a bit differently (+ uint64_t for 32 bit arches).

Thanks :)

/Kim


_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to