From 684ffd13b4940eb7a5d4228f850d903a72570242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= Date: Mon, 14 Oct 2019 20:01:11 +0300 Subject: vo_gpu/d3d11: fixup adapter selection by switching it all to bstr I did ponder if I should have done this right away, and it seems like not doing it at first was a mistake. --- video/out/d3d11/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/d3d11/context.c') diff --git a/video/out/d3d11/context.c b/video/out/d3d11/context.c index d2062a5619..be595eff3d 100644 --- a/video/out/d3d11/context.c +++ b/video/out/d3d11/context.c @@ -106,7 +106,7 @@ static int d3d11_validate_adapter(struct mp_log *log, } adapter_matched = mp_d3d11_list_or_verify_adapters(log, - help ? NULL : ¶m, + help ? bstr0(NULL) : param, help ? &listing : NULL); if (help) { -- cgit v1.2.3