[android] Use OpenGL on Emulator API 30 and 36 (Android 11 and 16)

OM crashes likely due to some bugs in Vulkan driver

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-07-07 19:00:35 +02:00
committed by Konstantin Pastbin
parent 90492e95e6
commit a036edc9c5
3 changed files with 14 additions and 7 deletions

View File

@@ -39,7 +39,8 @@ public:
using Version = std::array<uint32_t, 3>;
static bool IsVulkanForbidden();
static bool IsVulkanForbidden(std::string const & deviceName, Version apiVersion, Version driverVersion, bool isCustomROM);
static bool IsVulkanForbidden(std::string const & deviceName, Version apiVersion, Version driverVersion,
bool isCustomROM, int sdkVersion);
static bool IsVulkanTexturePartialUpdateBuggy(int sdkVersion, std::string const & deviceName,
Version apiVersion, Version driverVersion);