From e350ceef4c34291fc3c4e0e0fc687ae150f9ac33 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 21 Sep 2019 22:30:10 +0200 Subject: vo_gpu: vulkan: add Android context --- video/out/gpu/context.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'video/out/gpu') 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 -- cgit v1.2.3