http://bugs.winehq.org/show_bug.cgi?id=10499
--- Comment #1 from Will Robertson kassah@gmail.com 2007-11-18 18:40:48 --- Created an attachment (id=9242) --> (http://bugs.winehq.org/attachment.cgi?id=9242) Lesson1 of Nehe's Win32 OpenGL Tutorials Modified to detect format of screen.
Attaching source code that I used to discover this bug. In order to test it you may have to adjust the Color Depth var (depth) in WinMain to match your configuration.