From 5f125bc1f62afe018a24076db875218dd64162f9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 1 Mar 2016 18:22:17 +0100 Subject: [PATCH] (Android) Only need to pass window for Android --- gfx/drivers_context/android_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers_context/android_ctx.c b/gfx/drivers_context/android_ctx.c index 95bd3c45fa..3e9caa9126 100644 --- a/gfx/drivers_context/android_ctx.c +++ b/gfx/drivers_context/android_ctx.c @@ -172,7 +172,7 @@ static void *android_gfx_ctx_init(void *video_driver) case GFX_CTX_VULKAN_API: #ifdef HAVE_VULKAN if (!vulkan_surface_create(&and->vk, VULKAN_WSI_ANDROID, - and->dpy, android_app->window, + NULL, android_app->window, and->width, and->height, and->swap_interval)) goto error; #endif