http://bugs.winehq.org/show_bug.cgi?id=12230
Andrew Smith andrew@palringo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #11663|0 |1 is obsolete| |
--- Comment #9 from Andrew Smith andrew@palringo.com 2008-05-13 09:20:23 --- Created an attachment (id=13013) --> (http://bugs.winehq.org/attachment.cgi?id=13013) Fix for display bpp test
Some X11 drivers support a depth of 24bpp while the actual bpp of the screen is 32.
Instead of assuming the depth of the screen should be the same as the pixmap being created, we query the X11 driver beforehand, and check the bpp of the pixmap is compatible with the current display.
With this the test, previously attached, produces the expected result.