diff options
author | sfan5 <sfan5@live.de> | 2019-09-21 22:30:10 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-09-27 00:05:06 +0300 |
commit | e350ceef4c34291fc3c4e0e0fc687ae150f9ac33 (patch) | |
tree | fc29c9be74cf06b8776b5b8d45366016c158d421 /video/out/gpu/context.c | |
parent | 508e35881ebc91ff19c93c091872ea2b725ffd4d (diff) | |
download | mpv-e350ceef4c34291fc3c4e0e0fc687ae150f9ac33.tar.bz2 mpv-e350ceef4c34291fc3c4e0e0fc687ae150f9ac33.tar.xz |
vo_gpu: vulkan: add Android context
Diffstat (limited to 'video/out/gpu/context.c')
-rw-r--r-- | video/out/gpu/context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c index bf38e4c9bc..9561b534d8 100644 --- a/video/out/gpu/context.c +++ b/video/out/gpu/context.c @@ -49,6 +49,7 @@ extern const struct ra_ctx_fns ra_ctx_android; extern const struct ra_ctx_fns ra_ctx_vulkan_wayland; extern const struct ra_ctx_fns ra_ctx_vulkan_win; extern const struct ra_ctx_fns ra_ctx_vulkan_xlib; +extern const struct ra_ctx_fnd ra_ctx_vulkan_android; /* Direct3D 11 */ extern const struct ra_ctx_fns ra_ctx_d3d11; @@ -93,6 +94,9 @@ static const struct ra_ctx_fns *contexts[] = { // Vulkan contexts: #if HAVE_VULKAN +#if HAVE_ANDROID + &ra_ctx_vulkan_android, +#endif #if HAVE_WIN32_DESKTOP &ra_ctx_vulkan_win, #endif |