project for a (works on my devices) demo
This commit is contained in:
16
SOURCES/graphics/os/EGL/egl_context.h
Normal file
16
SOURCES/graphics/os/EGL/egl_context.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#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);
|
||||
Reference in New Issue
Block a user