http://bugs.winehq.org/show_bug.cgi?id=13025
--- Comment #3 from Roderick Colenbrander thunderbird2k@gmx.net 2008-05-08 14:37:55 --- The patch in question is correct. WineD3D_ChoosePixelFormat first searches for a format in its (cached) opengl pixel format table. If nothing is found in there and findCompatible is set it defaults to ChoosePixelFormat.
Previously by accident it defaulted to ChoosePixelFormat in nearly all cases basically that ignores the previous search in wined3d its own pixel format table.
What needs to be investigated is why wined3d thinks that no depth stencil support is required for Supreme Commander as that's what the real bug is.