drm: Specify depth as 24 when creating the KMS FB
At least intel kms rejects depth 32 now, and 24 is want we want.
diff --git a/compositor/compositor-drm.c b/compositor/compositor-drm.c
index 0f54e3b..94a7b89 100644
--- a/compositor/compositor-drm.c
+++ b/compositor/compositor-drm.c
@@ -176,7 +176,7 @@
ret = drmModeAddFB(c->drm.fd,
output->base.current->width,
output->base.current->height,
- 32, 32, stride, handle, &fb_id);
+ 24, 32, stride, handle, &fb_id);
if (ret)
return -1;
@@ -510,7 +510,7 @@
ret = drmModeAddFB(ec->drm.fd,
output->base.current->width,
output->base.current->height,
- 32, 32, stride, handle, &output->fb_id[i]);
+ 24, 32, stride, handle, &output->fb_id[i]);
if (ret) {
fprintf(stderr, "failed to add fb %d: %m\n", i);
return -1;