gdk: support 2-bit StaticColor visuals
This commit is contained in:
parent
e92e770558
commit
b58fc23765
1 changed files with 1 additions and 1 deletions
|
|
@ -3431,7 +3431,7 @@ gdk_rgb_select_conv (GdkRgbInfo *image_info)
|
|||
conv = gdk_rgb_convert_gray4_pack;
|
||||
conv_d = gdk_rgb_convert_gray4_d_pack;
|
||||
}
|
||||
else if (bpp == 4 && depth <= 4 && depth >= 3 &&
|
||||
else if (bpp == 4 && depth <= 4 && depth >= 2 &&
|
||||
vtype == GDK_VISUAL_STATIC_COLOR)
|
||||
conv = gdk_rgb_convert_4_pack;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue