diff options
-rw-r--r-- | tests/modetest/modetest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 177b9c0a..820f8a51 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -438,6 +438,7 @@ create_test_buffer(drm_intel_bufmgr *bufmgr, /* Mode size at 32 bpp */ stride = width * 4; + stride = (stride + 63) & ~63; size = stride * height; bo = drm_intel_bo_alloc(bufmgr, "frontbuffer", size, 4096); |