diff options
-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. |