diff options
Diffstat (limited to 'gfx.h')
-rw-r--r-- | gfx.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,6 +1,8 @@ #include <stdbool.h> #include <inttypes.h> +#include <epoxy/egl.h> + typedef struct gfxstate gfxstate; struct gfxstate { @@ -15,6 +17,11 @@ struct gfxstate { uint32_t rlen, glen, blen, tlen; uint32_t roff, goff, boff, toff; + /* egl */ + EGLDisplay dpy; + EGLContext ctx; + EGLSurface surface; + /* calls */ void (*restore_display)(void); void (*cleanup_display)(void); |