From eaa0b08bc2bca34307da1474eb261274b30cab38 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 1 Mar 2016 18:21:09 +0100 Subject: [PATCH] (Android) Hook up Vulkan for gfx_ctx_bind_api --- gfx/drivers_context/android_ctx.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gfx/drivers_context/android_ctx.c b/gfx/drivers_context/android_ctx.c index 8020eb305e..95bd3c45fa 100644 --- a/gfx/drivers_context/android_ctx.c +++ b/gfx/drivers_context/android_ctx.c @@ -344,6 +344,13 @@ static bool android_gfx_ctx_bind_api(void *data, } #endif break; + case GFX_CTX_VULKAN_API: +#ifdef HAVE_VULKAN + android_api = api; + return true; +#else + break; +#endif default: break; }