summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-10 15:24:38 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-10 15:24:38 +0100
commit88c7b19267e968760fdd350eea77b3199eafe28b (patch)
tree06be4cfcb57766a8a1207fff62ca84dce5988589 /src/graphics.h
parent78bb68168b296c3d7d00b2e5b0714510b5ba3999 (diff)
adjusting context
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 8c998f5..1ab4651 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -5,6 +5,7 @@
enum graphics_error_e {
GRAPHICS_ERROR_NONE = 0,
+ GRAPHICS_ERROR_DISPLAY,
};
struct graphics_s {
@@ -13,5 +14,6 @@ struct graphics_s {
EGLConfig config;
};
-enum graphics_error_e wayc_graphics_init(struct graphics_s* graphics);
+enum graphics_error_e wayc_graphics_init(struct graphics_s* graphics,
+ struct wlstate_s* state);
void wayc_graphics_deinit(struct graphics_s* graphics);