From 91cc0d8cf6a2cf264c243ca3b3e99b5fd4044c29 Mon Sep 17 00:00:00 2001 From: Christoph Heinrich Date: Mon, 20 Feb 2023 04:32:50 +0100 Subject: options: transition options from OPT_FLAG to OPT_BOOL c78482045444c488bb7948305d583a55d17cd236 introduced a bool option type as a replacement for the flag type, but didn't actually transition and remove the flag type because it would have been too much mundane work. --- video/out/gpu/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out/gpu/context.c') diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c index a145e2dc98..e41dd99476 100644 --- a/video/out/gpu/context.c +++ b/video/out/gpu/context.c @@ -269,8 +269,8 @@ const struct m_sub_options ra_ctx_conf = { {"gpu-api", OPT_STRING_VALIDATE(context_type, ra_ctx_validate_api), .help = ra_ctx_api_help}, - {"gpu-debug", OPT_FLAG(debug)}, - {"gpu-sw", OPT_FLAG(allow_sw)}, + {"gpu-debug", OPT_BOOL(debug)}, + {"gpu-sw", OPT_BOOL(allow_sw)}, {0} }, .size = sizeof(struct ra_ctx_opts), -- cgit v1.2.3