mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
vulkan: remove instanceVersion class member
This is not actually needed. The api version specified when creating the vulkan instance should be the highest api version that might be used by the application, which can be higher than the supported instance version. VMA can make use of vulkan 1.3 features so this can be hardcoded to VK_API_VERSION_1_3.
This commit is contained in:
@@ -365,7 +365,6 @@ private:
|
||||
VkSampler createSampler(const SamplerState &sampler);
|
||||
void cleanupUnusedObjects();
|
||||
|
||||
uint32_t instanceVersion = VK_API_VERSION_1_0;
|
||||
VkInstance instance = VK_NULL_HANDLE;
|
||||
VkPhysicalDevice physicalDevice = VK_NULL_HANDLE;
|
||||
uint32_t deviceApiVersion = VK_API_VERSION_1_0;
|
||||
|
||||
Reference in New Issue
Block a user