master
Alessandro Mauri 5 months ago
parent e113ec6d57
commit 2dceaa0d14
  1. 5
      test3/main.c

@ -418,6 +418,10 @@ int main(void)
printf("Successfully allocated memory on device\n");
}
// TODO: create buffers with vkCreateBuffer and VkCreateBufferInfo
// TODO: bind the buffer to the allocated memory with vkBindBufferMemory
// TODO: actually use that memory
vkFreeMemory(vk_logdev, mem, NULL);
vk_logical_device_destroy(vk_logdev);
@ -426,3 +430,4 @@ int main(void)
return EXIT_SUCCESS;
}

Loading…
Cancel
Save