summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJordan Halase <jordan@halase.me>2019-10-26 15:32:57 -0500
committerJordan Halase <jordan@halase.me>2019-10-26 15:32:57 -0500
commite5b677fcdd4f12be188e6b7826b79530a530a4c7 (patch)
treebc036855b266c61bdff6d5ee5e9beb812119f71d /main.c
parent25eaab5fc5534b5a91ee5285f3f9b60d58c072fd (diff)
More comments
Diffstat (limited to 'main.c')
-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.