File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
en/03_Drawing_a_triangle/00_Setup Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ is part of the c{pp} standard and means "not debug".
9393constexpr uint32_t WIDTH = 800;
9494constexpr uint32_t HEIGHT = 600;
9595
96- const std::vector validationLayers = {
96+ const std::vector<const char*> validationLayers = {
9797 "VK_LAYER_KHRONOS_validation"
9898};
9999
@@ -181,9 +181,9 @@ std::vector<const char*> getRequiredExtensions() {
181181 uint32_t glfwExtensionCount = 0;
182182 auto glfwExtensions = glfwGetRequiredInstanceExtensions(&glfwExtensionCount);
183183
184- std::vector extensions(glfwExtensions, glfwExtensions + glfwExtensionCount);
184+ std::vector<const char*> extensions(glfwExtensions, glfwExtensions + glfwExtensionCount);
185185 if (enableValidationLayers) {
186- extensions.push_back(vk::EXTDebugUtilsExtensionName );
186+ extensions.push_back(vk::EXTDebugUtilsExtensionName);
187187 }
188188
189189 return extensions;
You can’t perform that action at this time.
0 commit comments