summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Halase <jordan@halase.me>2019-11-04 13:55:48 -0600
committerJordan Halase <jordan@halase.me>2019-11-04 13:55:48 -0600
commit231a813812bcf9972e26abb4c62fa027aaea0829 (patch)
treed9c50ad20cdd2b70084a36ab33d266b0df39e140
parentc41f34b278e3cca25ad8c3df1bb32d1eaedb3c7c (diff)
Add TODO for onDisplay
-rwxr-xr-xmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index aeec0e2..e68790e 100755
--- a/main.c
+++ b/main.c
@@ -1670,6 +1670,8 @@ PuglStatus onDisplay(PuglView *view)
uint32_t imageIndex;
VkResult result;
+ // TODO: Swapchain recreation when rezing, minimizing, etc.
+ // TODO: Possibly use unique semaphores per in-flight image?
if ((result = vk->dev->vkAcquireNextImageKHR(
vk->device,
vk->swapchain.rawSwapchain,