diff options
Diffstat (limited to 'src/graphics.h')
| -rw-r--r-- | src/graphics.h | 9 |
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 |
