From c90b5657e67602e27124260d4f92bbe33c42f51e Mon Sep 17 00:00:00 2001 From: David Reveman Date: Thu, 3 Jul 2008 16:56:56 -0400 Subject: [PATCH] Allow colormap_size and bits_per_rgb to be greater or equal. --- hw/dmx/dmxextension.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/dmx/dmxextension.c b/hw/dmx/dmxextension.c index 7ae740fc0..06d2d94f9 100644 --- a/hw/dmx/dmxextension.c +++ b/hw/dmx/dmxextension.c @@ -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;