summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/sw/wayland/wayland_sw_winsys.c1
-rw-r--r--src/gallium/winsys/sw/wayland/wayland_sw_winsys.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/sw/wayland/wayland_sw_winsys.c b/src/gallium/winsys/sw/wayland/wayland_sw_winsys.c
index 1a31ada0296..331900e362d 100644
--- a/src/gallium/winsys/sw/wayland/wayland_sw_winsys.c
+++ b/src/gallium/winsys/sw/wayland/wayland_sw_winsys.c
@@ -243,6 +243,7 @@ wayland_displaytarget_get_handle(struct sw_winsys *ws,
whandle->fd = wldt->fd;
whandle->stride = wldt->stride;
+ whandle->size = wldt->size;
return TRUE;
}
diff --git a/src/gallium/winsys/sw/wayland/wayland_sw_winsys.h b/src/gallium/winsys/sw/wayland/wayland_sw_winsys.h
index bedd2408f05..c7a0b5c1dde 100644
--- a/src/gallium/winsys/sw/wayland/wayland_sw_winsys.h
+++ b/src/gallium/winsys/sw/wayland/wayland_sw_winsys.h
@@ -32,6 +32,7 @@ struct wl_display;
struct winsys_handle {
int fd;
unsigned stride;
+ unsigned size;
};
struct sw_winsys *