make always_render a global variable, MwWaylandAlwaysRender
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoI_xD 2026-03-24 23:24:20 -07:00
commit 9757623d3c
3 changed files with 10 additions and 16 deletions

View file

@ -205,14 +205,9 @@ static int create(MwWidget handle) {
1,
EGL_NONE};
EGLDisplay display;
waylandopengl_t* o = r = malloc(sizeof(*o));
MwLL topmost_parent = handle->lowlevel->wayland.parent;
handle->lowlevel->wayland.always_render = MwTRUE;
while(topmost_parent->wayland.parent != NULL) {
topmost_parent->wayland.always_render = MwTRUE;
topmost_parent = topmost_parent->wayland.parent;
}
waylandopengl_t* o = r = malloc(sizeof(*o));
MwLL topmost_parent = handle->lowlevel->wayland.parent;
MwWaylandAlwaysRender = MwTRUE;
o->gllib = MwDynamicOpen("libEGL.so");
if(!o->gllib) {