summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-10 16:46:07 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-10 16:46:07 +0100
commit6e037ccc63cfc83ddda71824700ffa91ab9daab9 (patch)
treef79d37cfe6971b823229719af89de137b907c3df /src/graphics.h
parent9030c54fab8c99df4f7327423590628b6e2306af (diff)
dont need yet
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 0419f46..d2028a7 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -22,10 +22,7 @@ struct graphics_s {
enum graphics_error_e wayc_graphics_init(struct graphics_s* graphics,
struct wlstate_s* state);
void wayc_graphics_deinit(struct graphics_s* graphics);
-static inline bool wayc_graphics_use(struct graphics_s* graphics) {
- wayc_notnull(graphics);
- eglMakeCurrent(graphics->display, EGL_NO_SURFACE, EGL_NO_SURFACE,
- graphics->context);
- return true;
-}
+struct renderer_s {
+ wl_egl_surface_t surface;
+}; \ No newline at end of file