1
0
Fork 0
mirror of https://github.com/hyprwm/wlroots-hyprland.git synced 2025-01-13 19:09:47 +01:00
wlroots-hyprland/examples/egl_common.h

20 lines
391 B
C
Raw Normal View History

#ifndef _EGL_COMMON_H
#define _EGL_COMMON_H
#endif
#include <stdbool.h>
#include <wayland-client.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
extern EGLDisplay egl_display;
extern EGLConfig egl_config;
extern EGLContext egl_context;
extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT;
bool egl_init(struct wl_display *display);
void egl_finish(void);