Added VkMemoryPropertyFlags argument to KRDevice::createImage

This commit is contained in:
2022-07-16 00:03:15 -07:00
parent 3d6dd727c2
commit e61f8aa7d1
2 changed files with 7 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ public:
#endif
);
bool createImage(Vector2i dimensions, VkImage* image, VmaAllocation* allocation);
bool createImage(Vector2i dimensions, VkMemoryPropertyFlags properties, VkImage* image, VmaAllocation* allocation);
KrResult selectSurfaceFormat(VkSurfaceKHR& surface, VkSurfaceFormatKHR& surfaceFormat);
KrResult selectDepthFormat(VkFormat& selectedDepthFormat);