Skip to content

Commit

Permalink
Updated project for 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdugan committed Oct 23, 2021
1 parent 1628205 commit 533e4ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ENDIF(WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNOMINMAX -D_USE_MATH_DEFINES")

add_definitions(-D_CRT_SECURE_NO_WARNINGS)
add_definitions(-std=c++11)
set(CMAKE_CXX_STANDARD 11)

# Enable the creation of folders for Visual Studio projects
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
Expand Down
1 change: 1 addition & 0 deletions src/Device.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include <array>
#include <stdexcept>
#include <vulkan/vulkan.h>
#include "QueueFlags.h"
#include "SwapChain.h"
Expand Down
2 changes: 1 addition & 1 deletion src/Instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const bool ENABLE_VALIDATION = true;

namespace {
const std::vector<const char*> validationLayers = {
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
};

// Get the required list of extensions based on whether validation layers are enabled
Expand Down

0 comments on commit 533e4ed

Please sign in to comment.