Major refactoring to fix spaghetti code, hook sanitizers in when debug building, and set up window surfaces.

This commit is contained in:
2024-10-06 04:35:53 -05:00
parent 9a6a351e23
commit 3e0206b581
8 changed files with 185 additions and 147 deletions

View File

@@ -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;
}