Changeset 8dcbf62 in opengl-game for sdl-game.cpp
- Timestamp:
- Jun 8, 2021, 11:19:16 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 6bac215
- Parents:
- 8aa4888
- git-author:
- Dmitry Portnoy <dportnoy@…> (06/08/21 20:38:16)
- git-committer:
- Dmitry Portnoy <dportnoy@…> (06/08/21 23:19:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sdl-game.cpp
r8aa4888 r8dcbf62 136 136 { 137 137 0, 1, 2, 3, 4, 5 138 }, {138 }, objects_modelPipeline, { 139 139 mat4(1.0f) 140 140 }); 141 142 objects_modelPipeline.numObjects++;143 141 144 142 texturedSquare->model_base = … … 157 155 })), { 158 156 0, 1, 2, 3, 4, 5 159 }, {157 }, objects_modelPipeline, { 160 158 mat4(1.0f) 161 159 }); 162 163 objects_modelPipeline.numObjects++;164 160 165 161 texturedSquare->model_base = … … 381 377 { 382 378 0, 1, 2, 3, 4, 5 383 }, {379 }, objects_modelPipeline, { 384 380 mat4(1.0f) 385 381 }); 386 387 objects_modelPipeline.numObjects++;388 382 389 383 texturedSquare.model_base = … … 834 828 void VulkanGame::createImageResources() { 835 829 VulkanUtils::createDepthImage(device, physicalDevice, resourceCommandPool, findDepthFormat(), swapChainExtent, 836 depthImage, graphicsQueue);830 depthImage, graphicsQueue); 837 831 838 832 createTextureSampler(); … … 1252 1246 // and resizing the window is a common reason to recreate the swapchain 1253 1247 VulkanUtils::createDepthImage(device, physicalDevice, resourceCommandPool, findDepthFormat(), swapChainExtent, 1254 depthImage, graphicsQueue);1248 depthImage, graphicsQueue); 1255 1249 1256 1250 createRenderPass();
Note:
See TracChangeset
for help on using the changeset viewer.