diff options
author | Jordan Halase <jordan@halase.me> | 2019-10-26 15:32:57 -0500 |
---|---|---|
committer | Jordan Halase <jordan@halase.me> | 2019-10-26 15:32:57 -0500 |
commit | e5b677fcdd4f12be188e6b7826b79530a530a4c7 (patch) | |
tree | bc036855b266c61bdff6d5ee5e9beb812119f71d | |
parent | 25eaab5fc5534b5a91ee5285f3f9b60d58c072fd (diff) |
More comments
-rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -277,6 +277,9 @@ static void createInstance() #else nRequired = 0; #endif + // XXX: Eventually Pugl should return the platform-specific string(s) of the name(s) + // of the required surface (and) type(s) for that platform, e.g., VK_KHR_XLIB_SURFACE_EXTENSION_NAME for X11 + // This could be negotiated at a later time. static const char *const additional[] = { VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_XLIB_SURFACE_EXTENSION_NAME, @@ -962,7 +965,7 @@ void initVulkan() // Eventually, Pugl should wrap the call to XXX, where XXX is one of: // * vkCreateXlibSurfaceKHR() // * vkCreateWin32SurfaceKHR() - // * vkCreateMacOSSurfaceMVK() (using MoltenVK compatibility over Metal) + // * vkCreateMacOSSurfaceMVK() // * possibly (?) others in the future // However, it should do it differently than how SDL does it, because SDL loads the Vulkan Loader // using hidden global state, which goes against Pugl's embedded model. |