From 7a640bd0622caf8a3354934d0400e8c361cdeee3 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 26 Oct 2021 17:00:14 +0100 Subject: Add EGL setup (unused for now). --- src/egl.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/egl.h (limited to 'src/egl.h') diff --git a/src/egl.h b/src/egl.h new file mode 100644 index 0000000..f97bd22 --- /dev/null +++ b/src/egl.h @@ -0,0 +1,17 @@ +#ifndef EGL_H +#define EGL_H + +#include + +struct client_state; +struct egl { + EGLNativeWindowType window; + EGLDisplay display; + EGLContext context; + EGLSurface surface; +}; + +void egl_create_window(struct client_state *state); +void egl_create_context(struct client_state *state); + +#endif /* EGL_H */ -- cgit v1.2.3