mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 16:58:03 +02:00
xwayland/glamor: Handle depth 15 in gbm_format_for_depth
Prevents Xwayland with glamor from logging
unexpected depth: 15
to stderr many times when running
rendercheck -t blend -o clear
(cherry picked from commit 08113b8923)
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1636>
This commit is contained in:
parent
d4cf52524d
commit
33a9f47205
1 changed files with 2 additions and 0 deletions
|
|
@ -562,6 +562,8 @@ static uint32_t
|
|||
gbm_format_for_depth(CARD8 depth)
|
||||
{
|
||||
switch (depth) {
|
||||
case 15:
|
||||
return GBM_FORMAT_ARGB1555;
|
||||
case 16:
|
||||
return GBM_FORMAT_RGB565;
|
||||
case 24:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue