This is an automated email from the git hooks/post-receive script.
git pushed a commit to reference refs/pull/11/head
in repository expedite.
View the commit online.
commit 6c8f35d7349dd778e1831ee5bea24b5c1e83a686
Author: Cedric Bail <[email protected]>
AuthorDate: Sun Nov 29 12:14:07 2026 -0600
proxy_image_clipped: only move the objects that exist
_setup fills slots 0 to OBNUM (the source plus OBNUM / 2 proxy and
clipper pairs), but _loop and _cleanup walked all OBNUM * 2 slots,
passing NULL to efl_gfx_entity_position_set() 128 times per frame.
The objects drawn are unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/bin/proxy_image_clipped.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bin/proxy_image_clipped.c b/src/bin/proxy_image_clipped.c
index 7a90070..c795a53 100644
--- a/src/bin/proxy_image_clipped.c
+++ b/src/bin/proxy_image_clipped.c
@@ -54,7 +54,7 @@ static void _setup(void)
static void _cleanup(void)
{
int i;
- for (i = 0; i < OBNUM * 2; i++) efl_del(o_images[i]);
+ for (i = 0; i <= OBNUM; i++) efl_del(o_images[i]);
}
/* loop - do things */
@@ -62,7 +62,7 @@ static void _loop(double t, int f)
{
int i;
Evas_Coord x, y, w, h;
- for (i = 0; i < OBNUM * 2; i++)
+ for (i = 0; i <= OBNUM; i++)
{
w = 120;
h = 160;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.