http://bugs.winehq.org/show_bug.cgi?id=11203
--- Comment #25 from Ian Goddard igoddard@nildram.co.uk 2008-12-14 07:26:57 --- Created an attachment (id=17920) --> (http://bugs.winehq.org/attachment.cgi?id=17920) Minimal patch to fix
In response to Austin English's request in WWW 354 this bug is still present in 1.1.10 and is, as far as I can tell, responsible for most if not all the visual failures for igoddard-laptop in winetest.
I've attached a minimal patch which works for me. The existing code contains this comment, however:
"This is not necessarily right. X11 always has 24 bits per pixel, but it can run with 24 bit framebuffers and 32 bit framebuffers. It doesn't make any difference for windowing, but gl applications can get visuals with alpha channels. So we should check the framebuffer and/or opengl formats available to find out what the framebuffer actually does"
So maybe there could be issues with other H/W if the patch is applied.
When the patch is applied the Enterprise Architect starts up OK but in doing so returns this message:
err:x11drv:X11DRV_CreateBitmap Trying to make bitmap with planes=1, bpp=32
As the "error" being reported is non-fatal I wonder if it is significant or whether the message could be removed.
Ian