From b2548ba4ce295fcd94a50123fb543fac2ef2bc33 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 14 Nov 2024 14:46:23 -0500 Subject: 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 --- src/window.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/window.hpp') 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 @@ -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; -- cgit v1.2.3