diff options
author | Kristian Høgsberg <[email protected]> | 2012-07-05 16:27:05 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2012-07-11 15:28:35 -0400 |
commit | 1aaec8c60985ffe03af265bf8f659ee0319926ca (patch) | |
tree | 6f7660b996f65e2c794c61f764dcb644b88ea776 /src/gallium/state_trackers | |
parent | 379eb47ea61c87c9ac071fa6d93e49ae3f02ac2c (diff) |
wayland-drm: Add protocol to create planar buffers
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/egl/common/native_wayland_drm_bufmgr_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |