Commit 8b388cd3 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Don't force 24bpp GdkVisual on 32bpp displays. (#140706)

2005-04-05  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force
	24bpp GdkVisual on 32bpp displays. (#140706)
parent f30b816c
2005-04-05 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force
24bpp GdkVisual on 32bpp displays. (#140706)
Mon Apr 4 19:13:23 2005 Jonathan Blandford <jrb@redhat.com>
Fix for #172319, Tristan Van Berkom:
......
2005-04-05 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force
24bpp GdkVisual on 32bpp displays. (#140706)
Mon Apr 4 19:13:23 2005 Jonathan Blandford <jrb@redhat.com>
Fix for #172319, Tristan Van Berkom:
......
2005-04-05 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force
24bpp GdkVisual on 32bpp displays. (#140706)
Mon Apr 4 19:13:23 2005 Jonathan Blandford <jrb@redhat.com>
Fix for #172319, Tristan Van Berkom:
......
......@@ -238,7 +238,6 @@ _gdk_visual_init (void)
}
else if (bitspixel == 24 || bitspixel == 32)
{
bitspixel = 24;
system_visual->type = GDK_VISUAL_TRUE_COLOR;
system_visual->red_mask = 0x00FF0000;
system_visual->green_mask = 0x0000FF00;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment