From c80db28e69c767ba7ac48b776dde897bfa6a4884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= <pippin@gimp.org> Date: Tue, 3 Oct 2023 22:10:17 +0200 Subject: [PATCH] st3m_gfx: do not force direct blit for direct-ctx and low latency --- components/st3m/st3m_gfx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/st3m/st3m_gfx.c b/components/st3m/st3m_gfx.c index 3574798dd..56914b64f 100644 --- a/components/st3m/st3m_gfx.c +++ b/components/st3m/st3m_gfx.c @@ -470,9 +470,7 @@ static void st3m_gfx_rast_task(void *_arg) { prev_set_mode = set_mode; #if ST3M_GFX_BLIT_TASK - if (((set_mode & st3m_gfx_low_latency) == st3m_gfx_low_latency) || - ((set_mode & st3m_gfx_direct_ctx) == st3m_gfx_direct_ctx) || - (bits > 16)) + if ((bits > 16)) direct_blit = 1; else direct_blit = 0; -- GitLab