From 6e037ccc63cfc83ddda71824700ffa91ab9daab9 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Tue, 10 Feb 2026 16:46:07 +0100 Subject: dont need yet --- src/graphics.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/graphics.h') 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 -- cgit v1.2.3