From e5b677fcdd4f12be188e6b7826b79530a530a4c7 Mon Sep 17 00:00:00 2001 From: Jordan Halase Date: Sat, 26 Oct 2019 15:32:57 -0500 Subject: More comments --- main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 559b3f9..e3cb99d 100644 --- a/main.c +++ b/main.c @@ -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. -- cgit v1.2.1