summaryrefslogtreecommitdiffstats
path: root/video/out/gpu_next/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gpu_next/context.c')
-rw-r--r--video/out/gpu_next/context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/gpu_next/context.c b/video/out/gpu_next/context.c
index b742511d20..597d6d6ed9 100644
--- a/video/out/gpu_next/context.c
+++ b/video/out/gpu_next/context.c
@@ -107,12 +107,10 @@ err_out:
}
#endif // HAVE_D3D11
-struct gpu_ctx *gpu_ctx_create(struct vo *vo, struct gl_video_opts *gl_opts)
+struct gpu_ctx *gpu_ctx_create(struct vo *vo, struct ra_ctx_opts *ctx_opts)
{
struct gpu_ctx *ctx = talloc_zero(NULL, struct gpu_ctx);
ctx->log = vo->log;
-
- struct ra_ctx_opts *ctx_opts = mp_get_config_group(ctx, vo->global, &ra_ctx_conf);
ctx->ra_ctx = ra_ctx_create(vo, *ctx_opts);
if (!ctx->ra_ctx)
goto err_out;