This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch reproducible-widget-previews
in repository efl.

View the commit online.

commit 7d37ccadb86a1ac390995792b5e1e93c79274825
Author: [email protected] <[email protected]>
AuthorDate: Tue Apr 7 21:56:33 2026 -0600

    fix: correctly rotate gradient
    
    Prior rotating gradient was "weird" and I couldn't make sense. This was
    because the y was affected by x and the y was forgotten. This make it
    work nicely
---
 src/lib/ector/software/ector_software_gradient.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ector/software/ector_software_gradient.c b/src/lib/ector/software/ector_software_gradient.c
index be20635e29..a3ac0b8f53 100644
--- a/src/lib/ector/software/ector_software_gradient.c
+++ b/src/lib/ector/software/ector_software_gradient.c
@@ -92,7 +92,7 @@ fetch_linear_gradient(uint32_t *buffer, Span_Data *data, int y, int x, int lengt
         rx = data->inv.xy * (y + (float)0.5) + data->inv.xz + data->inv.xx * (x + (float)0.5);
         ry = data->inv.yy * (y + (float)0.5) + data->inv.yz + data->inv.yx * (x + (float)0.5);
         t = g_data->linear.dx*rx + g_data->linear.dy*ry + g_data->linear.off;
-        inc = g_data->linear.dx * data->inv.xx + g_data->linear.dx * data->inv.yx;
+        inc = g_data->linear.dx * data->inv.xx + g_data->linear.dy * data->inv.yx;
 
         t *= (GRADIENT_STOPTABLE_SIZE - 1);
         inc *= (GRADIENT_STOPTABLE_SIZE - 1);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to