From 1aaec8c60985ffe03af265bf8f659ee0319926ca Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Thu, 5 Jul 2012 16:27:05 -0400 Subject: wayland-drm: Add protocol to create planar buffers --- .../state_trackers/egl/common/native_wayland_drm_bufmgr_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/state_trackers/egl/common/native_wayland_drm_bufmgr_helper.c b/src/gallium/state_trackers/egl/common/native_wayland_drm_bufmgr_helper.c index 6d72ce14774..c520b536483 100644 --- a/src/gallium/state_trackers/egl/common/native_wayland_drm_bufmgr_helper.c +++ b/src/gallium/state_trackers/egl/common/native_wayland_drm_bufmgr_helper.c @@ -47,7 +47,7 @@ egl_g3d_wl_drm_helper_reference_buffer(void *user_data, uint32_t name, memset(&wsh, 0, sizeof(wsh)); wsh.handle = name; - wsh.stride = buffer->stride0; + wsh.stride = buffer->stride[0]; buffer->driver_buffer = ndpy->screen->resource_from_handle(ndpy->screen, &templ, &wsh); -- cgit v1.2.3