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

git pushed a commit to branch span-gl-clean
in repository efl.

View the commit online.

commit 5acfbf961b3e76021ebbb8214bd57b3c8005bdd0
Author: [email protected] <[email protected]>
AuthorDate: Mon Sep 14 09:55:55 2026 -0600

    evas_ector_gl: drop a scoping block in span_collector_resize()
    
    The review pointed out that the block around the dirty-marking loop in
    span_collector_resize() only existed to declare a loop counter, and its
    extra indentation did not help. The function already declares i at its
    top, and the later realloc loop resets it before use, so the loop can use
    i at function level.
    
    No behaviour change. The build is clean, and ector_suite and evas_suite
    pass.
    
    Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
---
 src/modules/evas/engines/gl_generic/evas_ector_gl_span.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 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 74a8759af2..a45a1bdd90 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
@@ -147,13 +147,10 @@ span_collector_resize(Span_Collector *sc, int h)
 
    // When active height changes, the GPU texture dimensions no longer
    // match - mark dirty so the upload path recreates or resizes it.
-   {
-      int ti;
-      for (ti = 0; ti < sc->texture_count; ti++)
-        {
-           sc->textures[ti].dirty = EINA_TRUE;
-        }
-   }
+   for (i = 0; i < sc->texture_count; i++)
+     {
+        sc->textures[i].dirty = EINA_TRUE;
+     }
 
    // Common case: h fits within existing allocation - no realloc needed.
    if (h <= sc->alloc_h)

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

Reply via email to