forked from enlightenment/enlightenment
Add egl extension header
Add bind and unbind proc address Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
a07d830ce2
commit
7c37664ed6
|
@ -26,6 +26,7 @@
|
||||||
|
|
||||||
# ifdef HAVE_WAYLAND_EGL
|
# ifdef HAVE_WAYLAND_EGL
|
||||||
# include <EGL/egl.h>
|
# include <EGL/egl.h>
|
||||||
|
# include <EGL/eglext.h>
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# define container_of(ptr, type, member) ({ \
|
# define container_of(ptr, type, member) ({ \
|
||||||
|
@ -270,6 +271,9 @@ struct _E_Wayland_Compositor
|
||||||
EGLDisplay display;
|
EGLDisplay display;
|
||||||
EGLContext context;
|
EGLContext context;
|
||||||
EGLConfig config;
|
EGLConfig config;
|
||||||
|
PFNEGLBINDWAYLANDDISPLAYWL bind_display;
|
||||||
|
PFNEGLUNBINDWAYLANDDISPLAYWL unbind_display;
|
||||||
|
Eina_Bool bound : 1;
|
||||||
} egl;
|
} egl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue