summaryrefslogtreecommitdiffstats
path: root/video/out/d3d11
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2019-10-14 20:01:11 +0300
committerJan Ekström <jeebjp@gmail.com>2019-10-15 22:12:48 +0300
commit684ffd13b4940eb7a5d4228f850d903a72570242 (patch)
treee1853de57e1d871e19a5686947c76ae036c727c0 /video/out/d3d11
parentf0f13871453504767e0e9fed470853108cb8bbac (diff)
downloadmpv-684ffd13b4940eb7a5d4228f850d903a72570242.tar.bz2
mpv-684ffd13b4940eb7a5d4228f850d903a72570242.tar.xz
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.
Diffstat (limited to 'video/out/d3d11')
-rw-r--r--video/out/d3d11/context.c2
1 files changed, 1 insertions, 1 deletions
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 : &param,
+ help ? bstr0(NULL) : param,
help ? &listing : NULL);
if (help) {