diff options
Diffstat (limited to 'video/out/opengl/context.c')
-rw-r--r-- | video/out/opengl/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c index a22227562a..32e7c4a3d6 100644 --- a/video/out/opengl/context.c +++ b/video/out/opengl/context.c @@ -114,7 +114,7 @@ int mpgl_validate_backend_opt(struct mp_log *log, const struct m_option *opt, mp_info(log, " auto (autodetect)\n"); for (int n = 0; n < MP_ARRAY_SIZE(backends); n++) mp_info(log, " %s\n", backends[n]->name); - return M_OPT_EXIT - 1; + return M_OPT_EXIT; } char s[20]; snprintf(s, sizeof(s), "%.*s", BSTR_P(param)); |