summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_dxinterop.c
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-04-15 23:18:44 -0400
committerKacper Michajłow <kasper93@gmail.com>2024-04-18 16:28:21 +0200
commit2533ea764f3fd506b619925611b4b8446d999c13 (patch)
tree91e4cea7220e9c8f097224d3a5ad225f296c2c7a /video/out/opengl/context_dxinterop.c
parenta6ff33425dd29fa214ee21c6b32cd283f8a18f64 (diff)
downloadmpv-2533ea764f3fd506b619925611b4b8446d999c13.tar.bz2
mpv-2533ea764f3fd506b619925611b4b8446d999c13.tar.xz
various: add GPU context description
Now that obj_settings_list is used for GPU contexts, detailed descriptions can be added so that --gpu-context=help can print the descriptions of the GPU contexts using standard obj_settings_list help printing.
Diffstat (limited to 'video/out/opengl/context_dxinterop.c')
-rw-r--r--video/out/opengl/context_dxinterop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/context_dxinterop.c b/video/out/opengl/context_dxinterop.c
index cda696f71b..3ebdfbeaa0 100644
--- a/video/out/opengl/context_dxinterop.c
+++ b/video/out/opengl/context_dxinterop.c
@@ -598,6 +598,7 @@ static int dxgl_control(struct ra_ctx *ctx, int *events, int request,
const struct ra_ctx_fns ra_ctx_dxgl = {
.type = "opengl",
.name = "dxinterop",
+ .description = "WGL rendering/Direct3D 9Ex presentation",
.init = dxgl_init,
.reconfig = dxgl_reconfig,
.control = dxgl_control,