master
Alessandro Mauri 11 months ago
parent e113ec6d57
commit 2dceaa0d14
  1. 7
      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);
@ -425,4 +429,5 @@ int main(void)
vk_destroy(vk_instance);
return EXIT_SUCCESS;
}
}

Loading…
Cancel
Save