mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 10:30:10 +01:00
Allow colormap_size and bits_per_rgb to be greater or equal.
This commit is contained in:
parent
e776efc2b7
commit
c90b5657e6
1 changed files with 2 additions and 2 deletions
|
|
@ -1322,9 +1322,9 @@ static Bool dmxCompareScreens(DMXScreenInfo *new,
|
|||
old->beVisuals[i].green_mask &&
|
||||
new->beVisuals[j].blue_mask ==
|
||||
old->beVisuals[i].blue_mask &&
|
||||
new->beVisuals[j].colormap_size ==
|
||||
new->beVisuals[j].colormap_size >=
|
||||
old->beVisuals[i].colormap_size &&
|
||||
new->beVisuals[j].bits_per_rgb ==
|
||||
new->beVisuals[j].bits_per_rgb >=
|
||||
old->beVisuals[i].bits_per_rgb)
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue