diff options
author | Eric Engestrom <[email protected]> | 2018-05-29 15:41:28 +0100 |
---|---|---|
committer | Matt Turner <[email protected]> | 2018-06-06 12:11:57 -0700 |
commit | 1db4ec05462914096b1f243e9b2af7e71cf38622 (patch) | |
tree | 5adb834423c95a80eeb12e44e4d7ad955531ed45 /src/egl/drivers | |
parent | 67f7a16b598513d25319e482359a4c4c6fc1271d (diff) |
egl: rewire the build systems to use libwayland-egl
Cc: Emil Velikov <[email protected]>
Cc: Daniel Stone <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/egl/drivers')
-rw-r--r-- | src/egl/drivers/dri2/platform_wayland.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 63da21cdf55..11026f9fbf4 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -45,12 +45,11 @@ #include "util/u_vector.h" #include "eglglobals.h" +#include <wayland-egl-backend.h> #include <wayland-client.h> #include "wayland-drm-client-protocol.h" #include "linux-dmabuf-unstable-v1-client-protocol.h" -#include "wayland/wayland-egl/wayland-egl-backend.h" - #ifndef DRM_FORMAT_MOD_INVALID #define DRM_FORMAT_MOD_INVALID ((1ULL << 56) - 1) #endif @@ -298,7 +297,7 @@ dri2_wl_create_window_surface(_EGLDriver *drv, _EGLDisplay *disp, dri2_surf->wl_queue); dri2_surf->wl_win = window; - dri2_surf->wl_win->private = dri2_surf; + dri2_surf->wl_win->driver_private = dri2_surf; dri2_surf->wl_win->destroy_window_callback = destroy_window_callback; if (dri2_dpy->flush) dri2_surf->wl_win->resize_callback = resize_callback; @@ -384,7 +383,7 @@ dri2_wl_destroy_surface(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *surf) wl_callback_destroy(dri2_surf->throttle_callback); if (dri2_surf->wl_win) { - dri2_surf->wl_win->private = NULL; + dri2_surf->wl_win->driver_private = NULL; dri2_surf->wl_win->resize_callback = NULL; dri2_surf->wl_win->destroy_window_callback = NULL; } |