From b8a287c4d5ed459eeac349d6f3830a0bef9e9885 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Thu, 28 Mar 2024 18:08:22 +0100 Subject: [PATCH] Fix Vulkan swapchain init on Android device with more surfaces reported by the driver --- .../GraphicsDevice/Vulkan/Android/AndroidVulkanPlatform.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Engine/GraphicsDevice/Vulkan/Android/AndroidVulkanPlatform.h b/Source/Engine/GraphicsDevice/Vulkan/Android/AndroidVulkanPlatform.h index ad0c49b0a..ad2d68652 100644 --- a/Source/Engine/GraphicsDevice/Vulkan/Android/AndroidVulkanPlatform.h +++ b/Source/Engine/GraphicsDevice/Vulkan/Android/AndroidVulkanPlatform.h @@ -6,6 +6,9 @@ #if GRAPHICS_API_VULKAN && PLATFORM_ANDROID +// Support more backbuffers in case driver decides to use more +#define VULKAN_BACK_BUFFERS_COUNT_MAX 8 + /// /// The implementation for the Vulkan API support for Android platform. ///