diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 15:19:08 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 15:19:08 +0100 |
| commit | 78bb68168b296c3d7d00b2e5b0714510b5ba3999 (patch) | |
| tree | fa799ed713013214783d041660d00c2b96959f08 /src/graphics.h | |
| parent | e213eae8ad44fe93d446ca70d4cf020f0c46f560 (diff) | |
link against egl
Diffstat (limited to 'src/graphics.h')
| -rw-r--r-- | src/graphics.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h index 20544de..8c998f5 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -1,10 +1,17 @@ #pragma once +#include <EGL/egl.h> +#include <wayland-egl.h> + enum graphics_error_e { GRAPHICS_ERROR_NONE = 0, }; -struct graphics_s {}; +struct graphics_s { + EGLDisplay display; + EGLContext context; + EGLConfig config; +}; enum graphics_error_e wayc_graphics_init(struct graphics_s* graphics); void wayc_graphics_deinit(struct graphics_s* graphics); |
