Implemented KrCreateWindowSurface and KrDeleteWindowSurface

This commit is contained in:
2020-07-23 17:03:40 -07:00
parent cf29556d41
commit 1ca6af364e
5 changed files with 101 additions and 22 deletions

View File

@@ -171,10 +171,12 @@ private:
void createDeviceContexts();
void destroyDeviceContexts();
void destroySurfaces();
unordered_multimap<std::string, KRResource*> m_resources;
typedef struct {
KrSurfaceHandle surfaceHandle;
VkSurfaceKHR surface;
#ifdef WIN32
HWND hWnd;
#endif