Changeset 502bd0b in opengl-game for vulkan-ref.cpp
- Timestamp:
- Sep 23, 2019, 2:02:47 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 91c89f7
- Parents:
- c1c2021
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-ref.cpp
rc1c2021 r502bd0b 168 168 VkQueue graphicsQueue; 169 169 VkQueue presentQueue; 170 /*** END OF REFACTORED CODE ***/171 170 172 171 VkSwapchainKHR swapChain; … … 174 173 VkFormat swapChainImageFormat; 175 174 VkExtent2D swapChainExtent; 175 /*** END OF REFACTORED CODE ***/ 176 176 vector<VkImageView> swapChainImageViews; 177 177 vector<VkFramebuffer> swapChainFramebuffers; … … 608 608 vkGetDeviceQueue(device, indices.presentFamily.value(), 0, &presentQueue); 609 609 } 610 /*** END OF REFACTORED CODE ***/611 610 612 611 void createSwapChain() { … … 663 662 } 664 663 665 /*** START OF REFACTORED CODE ***/666 664 SwapChainSupportDetails querySwapChainSupport(VkPhysicalDevice device) { 667 665 SwapChainSupportDetails details; … … 1948 1946 } 1949 1947 1948 /*** START OF REFACTORED CODE ***/ 1950 1949 vkDestroySwapchainKHR(device, swapChain, nullptr); 1950 /*** END OF REFACTORED CODE ***/ 1951 1951 1952 1952 for (size_t i = 0; i < swapChainImages.size(); i++) {
Note:
See TracChangeset
for help on using the changeset viewer.