#pragma once #include #include typedef struct { EGLDisplay *display; EGLConfig *config; EGLContext *context; } egl_context; void printEGLError(); egl_context* egl_context_malloc(); egl_context* egl_context_new( struct wl_display *display);