Major refactoring to fix spaghetti code, hook sanitizers in when debug building, and set up window surfaces.
This commit is contained in:
10
src/global.h
10
src/global.h
@@ -1,5 +1,13 @@
|
||||
#pragma once
|
||||
#include "debug/VulkanDebugLibs.h"
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
||||
extern const std::vector<const char*> validationLayers;
|
||||
#define GLFW_INCLUDE_VULKAN
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
namespace Global {
|
||||
extern const std::vector<const char*> validationLayers;
|
||||
extern const bool enableValidationLayers;
|
||||
}
|
||||
|
Reference in New Issue
Block a user