diff --git a/clients/nested.c b/clients/nested.c index 72aab151a..6c21aa4ab 100644 --- a/clients/nested.c +++ b/clients/nested.c @@ -50,15 +50,8 @@ #include "shared/xalloc.h" #include "window.h" -#ifndef EGL_WL_create_wayland_buffer_from_image -#define EGL_WL_create_wayland_buffer_from_image 1 +#include "weston-egl-ext.h" -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI struct wl_buffer * EGLAPIENTRY eglCreateWaylandBufferFromImageWL(EGLDisplay dpy, EGLImageKHR image); -#endif -typedef struct wl_buffer * (EGLAPIENTRYP PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWL) (EGLDisplay dpy, EGLImageKHR image); - -#endif static int option_blit;