summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-07-05 16:27:05 -0400
committerKristian Høgsberg <[email protected]>2012-07-11 15:28:35 -0400
commit1aaec8c60985ffe03af265bf8f659ee0319926ca (patch)
tree6f7660b996f65e2c794c61f764dcb644b88ea776 /src/egl/drivers
parent379eb47ea61c87c9ac071fa6d93e49ae3f02ac2c (diff)
wayland-drm: Add protocol to create planar buffers
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index bb30e699fe4..0fc33e01513 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -1243,7 +1243,7 @@ dri2_wl_reference_buffer(void *user_data, uint32_t name,
buffer->buffer.width,
buffer->buffer.height,
buffer->driver_format, name,
- buffer->stride0 / 4,
+ buffer->stride[0] / 4,
NULL);
}