allow vulkan backend even when wireframe or anisotropic filtering aren't supported.

Related: #2335.
This commit is contained in:
Sasha Szpakowski
2026-07-18 17:14:38 -03:00
parent 8cd9cdd3ac
commit 2dacd058f4
2 changed files with 23 additions and 14 deletions
+7
View File
@@ -183,6 +183,12 @@ struct OptionalDeviceExtensions
bool fullscreenExclusive = false;
};
struct OptionalDeviceFeatures
{
bool fillModeNonSolid = false;
bool samplerAnisotropy = false;
};
struct QueueFamilyIndices
{
Optional<uint32_t> graphicsFamily;
@@ -380,6 +386,7 @@ private:
VkDevice device = VK_NULL_HANDLE;
OptionalInstanceExtensions optionalInstanceExtensions;
OptionalDeviceExtensions optionalDeviceExtensions;
OptionalDeviceFeatures optionalDeviceFeatures;
VkQueue graphicsQueue = VK_NULL_HANDLE;
VkQueue presentQueue = VK_NULL_HANDLE;
VkSurfaceKHR surface = VK_NULL_HANDLE;