Const-ified helper functions in KRDevice

This commit is contained in:
2022-09-27 17:33:05 -07:00
parent 741b7848c5
commit 4d244c96c3
2 changed files with 6 additions and 6 deletions

View File

@@ -70,9 +70,9 @@ public:
#endif
);
KrResult selectSurfaceFormat(VkSurfaceKHR& surface, VkSurfaceFormatKHR& surfaceFormat);
KrResult selectDepthFormat(VkFormat& selectedDepthFormat);
KrResult selectPresentMode(VkSurfaceKHR& surface, VkPresentModeKHR& selectedPresentMode);
KrResult selectSurfaceFormat(VkSurfaceKHR& surface, VkSurfaceFormatKHR& surfaceFormat) const;
KrResult selectDepthFormat(VkFormat& selectedDepthFormat) const;
KrResult selectPresentMode(VkSurfaceKHR& surface, VkPresentModeKHR& selectedPresentMode) const;
void streamStart();
void streamUpload(KRDataBlock& data, VkBuffer destination);