swap buffers in draw handler instead

This commit is contained in:
IoIxD 2025-12-05 17:16:08 -07:00
commit 39533b3fec
6 changed files with 45 additions and 32 deletions

View file

@ -35,6 +35,7 @@ struct _MwLLCommon {
int copy_buffer;
int type;
int success;
int do_redraw;
MwLLHandler handler;
};

View file

@ -82,6 +82,7 @@ struct _MwLLWayland {
MwBool configured;
MwBool force_redraw;
MwBool egl_setup;
MwBool drawn_once;
MwBool egl_do_resetup;
MwU32 x, y, ww, wh;
int z_index;