mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
(Android) Bugfix
This commit is contained in:
parent
1b0a9d0b1d
commit
ac584330bb
@ -232,10 +232,14 @@ static void android_gfx_ctx_check_window(void *data, bool *quit,
|
||||
|
||||
*quit = false;
|
||||
|
||||
android_gfx_ctx_get_video_size(data, &new_width, &new_height);
|
||||
|
||||
switch (android_api)
|
||||
{
|
||||
case GFX_CTX_OPENGL_API:
|
||||
case GFX_CTX_OPENGL_ES_API:
|
||||
#ifdef HAVE_EGL
|
||||
egl_get_video_size(&and->egl, &new_width, &new_height);
|
||||
#endif
|
||||
break;
|
||||
case GFX_CTX_VULKAN_API:
|
||||
#ifdef HAVE_VULKAN
|
||||
/* Swapchains are recreated in set_resize as a
|
||||
|
Loading…
x
Reference in New Issue
Block a user