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 --- src/egl/drivers/dri2/egl_dri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/egl/drivers') 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); } -- cgit v1.2.3