Files
hello_wayland_EGL/SOURCES/graphics/os/EGL/egl_context.h

17 lines
284 B
C
Raw Normal View History

#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);