bgo#571374 - Add 30-bit visuals to the list of supported depths
Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
committed by
Federico Mena Quintero
parent
5ef4c2b9bd
commit
923b126f1c
@ -95,7 +95,7 @@ gdk_visual_get_type (void)
|
|||||||
void
|
void
|
||||||
_gdk_visual_init (GdkScreen *screen)
|
_gdk_visual_init (GdkScreen *screen)
|
||||||
{
|
{
|
||||||
static const gint possible_depths[7] = { 32, 24, 16, 15, 8, 4, 1 };
|
static const gint possible_depths[8] = { 32, 30, 24, 16, 15, 8, 4, 1 };
|
||||||
static const GdkVisualType possible_types[6] =
|
static const GdkVisualType possible_types[6] =
|
||||||
{
|
{
|
||||||
GDK_VISUAL_DIRECT_COLOR,
|
GDK_VISUAL_DIRECT_COLOR,
|
||||||
|
|||||||
Reference in New Issue
Block a user