mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-31 23:34:36 +00:00
(Android) Only need to pass window for Android
This commit is contained in:
parent
eaa0b08bc2
commit
5f125bc1f6
@ -172,7 +172,7 @@ static void *android_gfx_ctx_init(void *video_driver)
|
|||||||
case GFX_CTX_VULKAN_API:
|
case GFX_CTX_VULKAN_API:
|
||||||
#ifdef HAVE_VULKAN
|
#ifdef HAVE_VULKAN
|
||||||
if (!vulkan_surface_create(&and->vk, VULKAN_WSI_ANDROID,
|
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))
|
and->width, and->height, and->swap_interval))
|
||||||
goto error;
|
goto error;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user