summaryrefslogtreecommitdiff
path: root/tests/kms_ccs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_ccs.c')
-rw-r--r--tests/kms_ccs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c
index e1ee5880..e03f947e 100644
--- a/tests/kms_ccs.c
+++ b/tests/kms_ccs.c
@@ -378,7 +378,7 @@ static void generate_fb(data_t *data, struct igt_fb *fb,
fb->drm_format = f.pixel_format;
fb->width = f.width;
fb->height = f.height;
- fb->stride = f.pitches[0];
+ fb->strides[0] = f.pitches[0];
fb->tiling = f.modifier[0];
fb->size = size[0];
fb->cairo_surface = NULL;