Changeset cd487fb in opengl-game for graphics-pipeline_vulkan.cpp
- Timestamp:
- Nov 12, 2019, 9:48:50 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- b8777b7
- Parents:
- e3bef3a
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (11/12/19 21:25:58)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (11/12/19 21:48:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
graphics-pipeline_vulkan.cpp
re3bef3a rcd487fb 3 3 #include <fstream> 4 4 #include <stdexcept> 5 #include <iostream>6 5 7 6 using namespace std; 8 9 // TODO: Remove any instances of cout and instead throw exceptions10 7 11 8 GraphicsPipeline_Vulkan::GraphicsPipeline_Vulkan(VkPhysicalDevice physicalDevice, VkDevice device, … … 315 312 break; 316 313 default: 317 cout << "Unknown descriptor type: " << descriptorWrites[j].descriptorType << endl;314 throw runtime_error("Unknown descriptor type: " + to_string(descriptorWrites[j].descriptorType)); 318 315 } 319 316 }
Note:
See TracChangeset
for help on using the changeset viewer.