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

git pushed a commit to reference refs/pull/114/head
in repository efl.

View the commit online.

commit 97a45cb590a01b2749d82893dd780ff9bb125e84
Author: [email protected] <[email protected]>
AuthorDate: Wed Sep 16 21:24:58 2026 -0600

    evas_ector_gl: simplify _collect_spans_solid following review.
---
 src/modules/evas/engines/gl_generic/evas_ector_gl_span.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/modules/evas/engines/gl_generic/evas_ector_gl_span.c b/src/modules/evas/engines/gl_generic/evas_ector_gl_span.c
index 0a5407fd8c..c6c744ba1d 100644
--- a/src/modules/evas/engines/gl_generic/evas_ector_gl_span.c
+++ b/src/modules/evas/engines/gl_generic/evas_ector_gl_span.c
@@ -674,8 +674,8 @@ _flush_row_tail(Span_Collector *sc, int ti, int y)
 void
 _collect_spans_solid(int count, const SW_FT_Span *spans, void *user_data)
 {
-   Span_Data      *sd  = (Span_Data *)user_data;
-   Span_Collector *sc  = (Span_Collector *)sd->span_collector;
+   Span_Data      *sd  = user_data;
+   Span_Collector *sc  = sd->span_collector;
    int             ti, idx, y, sx;
    int             ref, gap, remaining, cur_x;
    unsigned int    cov;
@@ -754,8 +754,7 @@ _collect_spans_solid(int count, const SW_FT_Span *spans, void *user_data)
         // Compute gap relative to x_min so split textures don't
         // overflow the 8-bit gap field.  The shader adds x_min to
         // its sx accumulator to recover absolute coordinates.
-        ref = (tex->last_x_end[y] > tex->x_min)
-            ? tex->last_x_end[y] : tex->x_min;
+        ref = MAX(tex->x_min, tex->last_x_end[y]);
         gap = sx - ref;
         remaining = spans->len;
         cov = spans->coverage;

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

Reply via email to