summaryrefslogtreecommitdiff
path: root/src/window.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2024-11-14 14:46:23 -0500
committerJonathan Bradley <jcb@pikum.xyz>2024-11-14 14:46:23 -0500
commitb2548ba4ce295fcd94a50123fb543fac2ef2bc33 (patch)
tree444a32abb4a094c4fa2f7bc9a95aa86963ad4110 /src/window.hpp
parentb1d926361b9d613ad712ad161f9a8b7ccab4551d (diff)
add pk.h and major pkmem refactor
Completely replaces the memory module with pkmem pkmem is a newer implementation of the same bucket memory structure. Also includes replacing pkstr.h with pk.h's pkstr
Diffstat (limited to 'src/window.hpp')
-rw-r--r--src/window.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.hpp b/src/window.hpp
index 73369d3..2ceebec 100644
--- a/src/window.hpp
+++ b/src/window.hpp
@@ -6,9 +6,9 @@
#include "backends/imgui_impl_vulkan.h"
#include "event.hpp"
#include "imgui.h"
-#include "memory.hpp"
#include "ecs.hpp"
#include "window-types.hpp"
+#include "vendor/pk.h"
#include "glm/mat4x4.hpp"
#include <cstring>
@@ -21,7 +21,7 @@
// TODO replace me with something more elegant
const unsigned int MAX_FRAMES_IN_FLIGHT = 3;
-extern MemBucket *MemBkt_Vulkan;
+extern struct pk_membucket *MemBkt_Vulkan;
extern bool shouldRecreateSwapchain;
extern GLFWwindow *window;