summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 215fd92..373e302 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -2,6 +2,14 @@
#include <vulkan/vulkan.h>
+enum graphics_error_e {
+ GRAPHICS_ERROR_NONE = 0,
+ GRAPHICS_ERROR_INSTANCE,
+};
+
struct graphics_s {
VkInstance instance;
};
+
+enum graphics_error_e wayc_graphics_init(struct graphics_s* graphics);
+void wayc_graphics_deinit(struct graphics_s* graphics);