diff options
Diffstat (limited to 'video/out/opengl/context_wayland.c')
-rw-r--r-- | video/out/opengl/context_wayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/context_wayland.c b/video/out/opengl/context_wayland.c index 11e2c5d735..713ea8a36f 100644 --- a/video/out/opengl/context_wayland.c +++ b/video/out/opengl/context_wayland.c @@ -60,7 +60,7 @@ static bool wayland_egl_start_frame(struct ra_swapchain *sw, struct ra_fbo *out_ { struct ra_ctx *ctx = sw->ctx; struct vo_wayland_state *wl = ctx->vo->wl; - bool render = wl->render || wl->opts->disable_vsync; + bool render = !wl->hidden || wl->opts->disable_vsync; wl->frame_wait = true; return render ? ra_gl_ctx_start_frame(sw, out_fbo) : false; |