http://bugs.winehq.org/show_bug.cgi?id=14640
--- Comment #11 from Andrew O. Shadoura (I DO NOT USE COMPIZ) bugzilla@tut.by 2008-08-03 12:16:28 --- (In reply to comment #7)
Do you think that's the right behaviour? (from your code)
Note: this code is not mine. I don't use windows, I just use this unit and WINE to ensure my program will work for windows users.
iPixelType:=24; // color depth -> this isn't the color! This has to be
iPixelType:=PFD_TYPE_RGBA, the color is cColorBits:=24;
I will file a bug at Lazarus' bug tracker, so I hope this will be fixed. Thank you for investigation :-)