http://bugs.winehq.org/show_bug.cgi?id=20807
--- Comment #2 from Charles Davis cdavis@mines.edu 2009-11-24 07:40:13 --- (In reply to comment #1)
Can you check whether the fbconfig we are returning indeed reports 32-bit?
Pixel Format 66 (which is the one returned by ChoosePixelFormat()) has a 32-bit color buffer. DescribePixelFormat() gets this info from the FBConfig itself, so it's safe to assume the FBConfig has a 32-bit color buffer, too.
What happens if you get rid of the depth check in the call?
create_bitmap_glxpixmap() succeeds, but then I hit bug 20808.
The XVisualInfo data might not be correct (in some places we override Visual info). If the depth is really different you will get a BadMatch error.
No BadMatch here.