Enable HDR support in iOS. (#15871)

* Enable HDR support in iOS.

* Enable HDR support in tvOS.
This commit is contained in:
Eric Warmenhoven 2023-11-06 03:50:14 -05:00 committed by GitHub
parent c42498e531
commit 7237b6acfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 1 deletions

View File

@ -3434,7 +3434,7 @@ static void *vulkan_init(const video_info_t *video,
video->is_threaded, video->is_threaded,
FONT_DRIVER_RENDER_VULKAN_API); FONT_DRIVER_RENDER_VULKAN_API);
#if OSX #if OSX || IOS
// The MoltenVK driver needs this, particularly after driver reinit // The MoltenVK driver needs this, particularly after driver reinit
vk->flags |= VK_FLAG_SHOULD_RESIZE; vk->flags |= VK_FLAG_SHOULD_RESIZE;
#endif #endif