From a74b4742136fda20009bdac8cd688adc6e9c36bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= <pippin@gimp.org>
Date: Fri, 25 Aug 2023 23:41:01 +0200
Subject: [PATCH] ctx: revert texture transform workaround

---
 components/ctx/ctx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/ctx/ctx.h b/components/ctx/ctx.h
index 4e5777d0ea..bdce853840 100644
--- a/components/ctx/ctx.h
+++ b/components/ctx/ctx.h
@@ -53640,7 +53640,7 @@ ctx_draw_texture_clipped  (Ctx *ctx, const char *eid,
     {
       ctx_rectangle (ctx, x, y, width, height);
       ctx_save (ctx);
-      ctx_texture (ctx, eid, -x, -y);// / 
+      ctx_texture (ctx, eid, x, y);
       ctx_scale (ctx, (width/tex_width), (height/tex_height));
       ctx_fill (ctx);
       ctx_restore (ctx);
-- 
GitLab