summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/opengl/x11egl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/x11egl.c b/video/out/opengl/x11egl.c
index 4999dc5a4b..af167910ce 100644
--- a/video/out/opengl/x11egl.c
+++ b/video/out/opengl/x11egl.c
@@ -166,11 +166,11 @@ static int mpegl_init(struct MPGLContext *ctx, int flags)
goto uninit;
}
- return true;
+ return 0;
uninit:
mpegl_uninit(ctx);
- return false;
+ return -1;
}
static int mpegl_reconfig(struct MPGLContext *ctx)