summaryrefslogtreecommitdiff
path: root/render/vulkan/swapchain.c
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-11-27 21:59:02 -0600
committerDanny Holman <dholman@gymli.org>2024-11-27 22:02:08 -0600
commita62d0aea52df81648b9d429ffd5b3e8ef190ed52 (patch)
tree9769372666083d511578a0ac98b3c1ae883173bd /render/vulkan/swapchain.c
parent6944276194f05c2a61aa92fe7b9104a7b947f43d (diff)
render: centralize the type definitions
Centralize the type definitions for the Vulkan renderer. This removes the possibility for cyclic dependencies in the include paths. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'render/vulkan/swapchain.c')
-rw-r--r--render/vulkan/swapchain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/vulkan/swapchain.c b/render/vulkan/swapchain.c
index c6cea29..7d655a3 100644
--- a/render/vulkan/swapchain.c
+++ b/render/vulkan/swapchain.c
@@ -1,6 +1,7 @@
#include "swapchain.h"
-#include "vkassert.h"
#include "image.h"
+#include "device.h"
+#include "vkassert.h"
#include <rune/core/logging.h>
#include <rune/core/alloc.h>
#include <rune/util/stubbed.h>