http://bugs.winehq.org/show_bug.cgi?id=32581
Bug #: 32581 Summary: Invalid dwFlags of reference rasterizer HAL D3DDEVICEDESC Product: Wine Version: 1.5.19 Platform: x86-64 URL: http://slackware.sukkology.net/packages/d2xcvs/d2x/arc h/win32/d3dframe/d3denum.cpp OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: anonymous@interia.pl Classification: Unclassified
It seems that there is a problem with d3d device enumeration (Wine's d3d3_EnumDevices function). An example found in directx 6.1 SDK (samples\multimedia\d3dim\src\d3dframe\d3denum.cpp, Enum3DDevicesCallback function) seems to indicate that testing whether currently enumerated device is a hardware device should be done by checking the dwFlags of the D3DDEVICEDESC structure related to the hardware features (pHALDesc argument). Wine sets both structures (and therefore both dwFlags) to the same value resulting in failure to find a software-only device (which should have dwFlags=0).