summaryrefslogtreecommitdiff
path: root/render/vulkan/surface.h
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/surface.h
parentcore: thread objects should be replaced with lists (diff)
downloadrune-engine-a62d0aea52df81648b9d429ffd5b3e8ef190ed52.tar.gz
rune-engine-a62d0aea52df81648b9d429ffd5b3e8ef190ed52.tar.zst
rune-engine-a62d0aea52df81648b9d429ffd5b3e8ef190ed52.zip
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/surface.h')
-rw-r--r--render/vulkan/surface.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/render/vulkan/surface.h b/render/vulkan/surface.h
deleted file mode 100644
index 8d59ab8..0000000
--- a/render/vulkan/surface.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#ifndef VKSURFACE_H
-#define VKSURFACE_H
-
-#include <vulkan/vulkan.h>
-#include <GLFW/glfw3.h>
-
-struct vksurface {
- VkSurfaceKHR handle;
- uint32_t width;
- uint32_t height;
-};
-
-#endif