diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/modetest/modetest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index bd0f0a0a..88c5ce5b 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -566,7 +566,7 @@ set_mode(struct connector *c, int count, int page_flip) return; kms_bo_get_prop(bo, KMS_HANDLE, &handle); - ret = drmModeAddFB(fd, width, height, 32, 32, stride, handle, &fb_id); + ret = drmModeAddFB(fd, width, height, 24, 32, stride, handle, &fb_id); if (ret) { fprintf(stderr, "failed to add fb: %s\n", strerror(errno)); return; |