diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 14:15:22 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 14:15:22 +0100 |
| commit | 8925a2099aa056a917ff31495c5b07d3cd267311 (patch) | |
| tree | 4101d5e7e22fbb01a4c8b3e9bbe3abc7b496c4a7 /src/graphics.h | |
| parent | 1acadb9cdfc2025b65b190c872e420b199827655 (diff) | |
vulkan work
Diffstat (limited to 'src/graphics.h')
| -rw-r--r-- | src/graphics.h | 8 |
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); |
