17 lines
284 B
C
17 lines
284 B
C
#pragma once
|
|
|
|
#include <wayland-client-core.h>
|
|
#include <EGL/egl.h>
|
|
|
|
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);
|