Changeset e8445f0 in opengl-game for vulkan-game.cpp
- Timestamp:
- Apr 22, 2021, 1:54:17 AM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- b8072d3
- Parents:
- 4a777d2
- git-author:
- Dmitry Portnoy <dportnoy@…> (04/22/21 01:54:07)
- git-committer:
- Dmitry Portnoy <dportnoy@…> (04/22/21 01:54:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.cpp
r4a777d2 re8445f0 92 92 seedRandomNums(); 93 93 94 cout << "Vulkan Game" << endl; 95 94 96 cout << "DEBUGGING IS " << (ENABLE_VALIDATION_LAYERS ? "ON" : "OFF") << endl; 95 96 cout << "Vulkan Game" << endl;97 97 98 98 if (initUI(width, height, guiFlags) == RTWO_ERROR) { … … 1049 1049 explosion_UBO.cur_time = curTime; 1050 1050 1051 VulkanUtils::copyDataToMemory(device, uniformBuffersMemory_modelPipeline[imageIndex], 0, object_VP_mats);1052 1053 VulkanUtils::copyDataToMemory(device, uniformBuffersMemory_shipPipeline[imageIndex], 0, ship_VP_mats);1054 1055 VulkanUtils::copyDataToMemory(device, uniformBuffersMemory_asteroidPipeline[imageIndex], 0, asteroid_VP_mats);1056 1057 VulkanUtils::copyDataToMemory(device, uniformBuffersMemory_laserPipeline[imageIndex], 0, laser_VP_mats);1058 1059 VulkanUtils::copyDataToMemory(device, uniformBuffersMemory_explosionPipeline[imageIndex], 0, explosion_UBO);1051 VulkanUtils::copyDataToMemory(device, object_VP_mats, uniformBuffersMemory_modelPipeline[imageIndex], 0); 1052 1053 VulkanUtils::copyDataToMemory(device, ship_VP_mats, uniformBuffersMemory_shipPipeline[imageIndex], 0); 1054 1055 VulkanUtils::copyDataToMemory(device, asteroid_VP_mats, uniformBuffersMemory_asteroidPipeline[imageIndex], 0); 1056 1057 VulkanUtils::copyDataToMemory(device, laser_VP_mats, uniformBuffersMemory_laserPipeline[imageIndex], 0); 1058 1059 VulkanUtils::copyDataToMemory(device, explosion_UBO, uniformBuffersMemory_explosionPipeline[imageIndex], 0); 1060 1060 } 1061 1061
Note:
See TracChangeset
for help on using the changeset viewer.