summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context_wayland.c')
-rw-r--r--video/out/opengl/context_wayland.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/video/out/opengl/context_wayland.c b/video/out/opengl/context_wayland.c
index ac843f8c43..400da0047d 100644
--- a/video/out/opengl/context_wayland.c
+++ b/video/out/opengl/context_wayland.c
@@ -149,10 +149,7 @@ static bool egl_create_context(struct ra_ctx *ctx)
static bool wayland_egl_reconfig(struct ra_ctx *ctx)
{
- if (!vo_wayland_reconfig(ctx->vo))
- return false;
-
- return true;
+ return vo_wayland_reconfig(ctx->vo);
}
static void wayland_egl_uninit(struct ra_ctx *ctx)