Changeset e3bef3a in opengl-game for vulkan-ref.cpp
- Timestamp:
- Nov 12, 2019, 6:55:07 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- cd487fb
- Parents:
- 5a23277
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-ref.cpp
r5a23277 re3bef3a 27 27 using namespace glm; 28 28 29 /*** START OF REFACTORED CODE ***/30 29 const int SCREEN_WIDTH = 800; 31 30 const int SCREEN_HEIGHT = 600; … … 217 216 218 217 size_t currentFrame = 0; 219 /*** END OF REFACTORED CODE ***/220 221 218 size_t numPlanes = 0; // temp 222 219 223 /*** START OF REFACTORED CODE ***/224 220 bool framebufferResized = false; 225 221 … … 1465 1461 vkBindBufferMemory(device, buffer, bufferMemory, 0); 1466 1462 } 1467 /*** END OF REFACTORED CODE ***/1468 1463 1469 1464 void copyDataToBuffer(const void* srcData, VkBuffer dst, VkDeviceSize dstOffset, VkDeviceSize dataSize) { … … 1485 1480 } 1486 1481 1487 /*** START OF REFACTORED CODE ***/1488 1482 void copyBuffer(VkBuffer srcBuffer, VkBuffer dstBuffer, VkDeviceSize srcOffset, VkDeviceSize dstOffset, 1489 1483 VkDeviceSize size) { … … 1689 1683 } 1690 1684 } 1691 /*** END OF REFACTORED CODE ***/1692 1685 1693 1686 bool addObjectToScene(GraphicsPipelineInfo& info, … … 1722 1715 } 1723 1716 1724 /*** START OF REFACTORED CODE ***/1725 1717 void mainLoop() { 1726 1718 // TODO: Create some generic event-handling functions in game-gui-* … … 2075 2067 return EXIT_SUCCESS; 2076 2068 } 2077 /*** END OF REFACTORED CODE ***/
Note:
See TracChangeset
for help on using the changeset viewer.