summaryrefslogtreecommitdiffstats
path: root/video/out/gpu
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossy@jrg.systems>2017-09-16 01:37:28 +1000
committerNiklas Haas <git@haasn.xyz>2017-09-21 15:01:17 +0200
commit75c0c06640da677477a0cfd08deee1d4e23a4361 (patch)
tree2053c8bf0097c3fc5142799cad67d49ecce981b1 /video/out/gpu
parent65979986a923a8f08019b257c3fe72cd5e8ecf68 (diff)
downloadmpv-75c0c06640da677477a0cfd08deee1d4e23a4361.tar.bz2
mpv-75c0c06640da677477a0cfd08deee1d4e23a4361.tar.xz
vo_gpu: convert windows/osx hwdecs/contexts to new API
Diffstat (limited to 'video/out/gpu')
-rw-r--r--video/out/gpu/context.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c
index dbabba8b3b..ba710ff59e 100644
--- a/video/out/gpu/context.c
+++ b/video/out/gpu/context.c
@@ -40,7 +40,7 @@ extern const struct ra_ctx_fns ra_ctx_cocoa;
extern const struct ra_ctx_fns ra_ctx_wayland_egl;
extern const struct ra_ctx_fns ra_ctx_wgl;
extern const struct ra_ctx_fns ra_ctx_angle;
-extern const struct ra_ctx_fns ra_ctx_dxinterop;
+extern const struct ra_ctx_fns ra_ctx_dxgl;
extern const struct ra_ctx_fns ra_ctx_rpi;
extern const struct ra_ctx_fns ra_ctx_mali;
extern const struct ra_ctx_fns ra_ctx_vdpauglx;
@@ -50,7 +50,6 @@ static const struct ra_ctx_fns *contexts[] = {
#if HAVE_RPI
&ra_ctx_rpi,
#endif
-/*
#if HAVE_GL_COCOA
&ra_ctx_cocoa,
#endif
@@ -61,9 +60,8 @@ static const struct ra_ctx_fns *contexts[] = {
&ra_ctx_wgl,
#endif
#if HAVE_GL_DXINTEROP
- &ra_ctx_dxinterop,
+ &ra_ctx_dxgl,
#endif
-*/
#if HAVE_GL_X11
&ra_ctx_glx_probe,
#endif