mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-07 05:34:56 +00:00
toytoolkit: fix new EGL extensions fallback typedefs
The dummy typedefs for "get_platform_display()" and "create_platform_window()" were badly defined, which prevented building Weston on older systems. Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
807f09c94f
commit
e812859527
|
@ -41,8 +41,13 @@ extern "C" {
|
||||||
#ifdef ENABLE_EGL
|
#ifdef ENABLE_EGL
|
||||||
|
|
||||||
#ifndef EGL_EXT_platform_base
|
#ifndef EGL_EXT_platform_base
|
||||||
typedef void (*PFNEGLGETPLATFORMDISPLAYEXTPROC) (void);
|
typedef EGLDisplay (*PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform,
|
||||||
typedef void (*PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (void);
|
void *native_display,
|
||||||
|
const EGLint *attrib_list);
|
||||||
|
typedef EGLSurface (*PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy,
|
||||||
|
EGLConfig config,
|
||||||
|
void *native_window,
|
||||||
|
const EGLint *attrib_list);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline void *
|
static inline void *
|
||||||
|
|
Loading…
Reference in a new issue