android: attempt to use vulkan by default when vulkan 1.1+ is supported.

This commit is contained in:
Sasha Szpakowski
2026-06-28 19:15:40 -03:00
parent eb44cf54a7
commit fc98c7d2e1
2 changed files with 9 additions and 3 deletions
+7
View File
@@ -1757,6 +1757,13 @@ int Graphics::rateDeviceSuitability(VkPhysicalDevice device, bool querySwapChain
if (!deviceFeatures.fillModeNonSolid)
score = 0;
#ifdef LOVE_ANDROID
// Attempt to reduce potential driver bugs on Android by not allowing Vulkan
// if the device only supports Vulkan 1.0.
if (deviceProperties.apiVersion < VK_API_VERSION_1_1)
score = 0;
#endif
return score;
}