diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-01-14 18:17:54 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-01-14 18:17:54 -0500 |
| commit | 5a7b4a65a1d93744e4a5e6cc6df4244f61b81f68 (patch) | |
| tree | 4b59cb1d6e513c1caefdc7e4c35955741bcfe206 /src/window.hpp | |
| parent | 80a67230fe192287503092a3d256aea3a494409c (diff) | |
chore: fix compiler warnings + extra includes
Diffstat (limited to 'src/window.hpp')
| -rw-r--r-- | src/window.hpp | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/window.hpp b/src/window.hpp index 1af7eed..29f7140 100644 --- a/src/window.hpp +++ b/src/window.hpp @@ -2,19 +2,10 @@ #define PKE_WINDOW_HPP #include "asset-manager.hpp" -#include "backends/imgui_impl_glfw.h" -#include "backends/imgui_impl_vulkan.h" -#include "event.hpp" -#include "imgui.h" -#include "ecs.hpp" #include "window-types.hpp" #include "pk.h" +#include "vendor-glm-include.hpp" -#include "glm/mat4x4.hpp" -#include <cstring> -#include <cstdio> -#include <vector> -#include <cassert> #include <GLFW/glfw3.h> #include <vulkan/vulkan.h> @@ -80,10 +71,8 @@ struct ImplementedPipelines { VkSampler vkSampler_Texture = VK_NULL_HANDLE; union { VkPipeline arr[2] = { VK_NULL_HANDLE, VK_NULL_HANDLE }; - struct { - VkPipeline Texture; - VkPipeline TextureWireframe; - }; + VkPipeline Texture; + VkPipeline TextureWireframe; } pipelines; }; extern ImplementedPipelines pkePipelines; |
