mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 01:20:11 +01:00
libkms: All current BO_TYPE are 32bpp
... so request a 32bpp dumb buffer rather than a 16bpp. Fixes modetest and friends. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
ba11501bb9
commit
61be94018a
1 changed files with 2 additions and 1 deletions
|
|
@ -95,7 +95,8 @@ dumb_bo_create(struct kms_driver *kms,
|
|||
|
||||
memset(&arg, 0, sizeof(arg));
|
||||
|
||||
arg.bpp = 16;
|
||||
/* All BO_TYPE currently are 32bpp formats */
|
||||
arg.bpp = 32;
|
||||
arg.width = width;
|
||||
arg.height = height;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue