It is redundant since eglSwapBuffers() implicitly performs glFlush().

Signed-off-by: Akihiko Odaki <[email protected]>
---
 ui/gtk-egl.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/ui/gtk-egl.c b/ui/gtk-egl.c
index d595916476d9..0eec06826bdd 100644
--- a/ui/gtk-egl.c
+++ b/ui/gtk-egl.c
@@ -104,7 +104,6 @@ void gd_egl_draw(VirtualConsole *vc)
                         surface_width(vc->gfx.ds),
                         surface_height(vc->gfx.ds));
 
-        glFlush();
 #ifdef CONFIG_GBM
         if (dmabuf) {
             gd_gl_wait_sync(vc, sync);
@@ -122,8 +121,6 @@ void gd_egl_draw(VirtualConsole *vc)
         gd_update_scale(vc, ww, wh,
                         surface_width(vc->gfx.ds),
                         surface_height(vc->gfx.ds));
-
-        glFlush();
     }
 }
 

---
base-commit: 209b2afaface001c7d4d981e38f186afe7b24a50
change-id: 20260913-flush-08715ed9f4f2

Best regards,
--  
Akihiko Odaki <[email protected]>


Reply via email to