summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
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.