A graphics device is now selected to ensure that it supports rendering to the window render surfaces

This commit is contained in:
2020-07-23 18:29:03 -07:00
parent 1ca6af364e
commit 9762e021ce
3 changed files with 110 additions and 2 deletions

View File

@@ -177,6 +177,9 @@ private:
typedef struct {
KrSurfaceHandle surfaceHandle;
VkSurfaceKHR surface;
VkPhysicalDevice device;
VkDevice logicalDevice;
VkQueue graphicsQueue;
#ifdef WIN32
HWND hWnd;
#endif