mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
allow vulkan backend even when wireframe or anisotropic filtering aren't supported.
Related: #2335.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user