[d3d10core/tests] Fix a test failure when no adapters are present

Henri Verbeet hverbeet at codeweavers.com
Thu Jan 28 10:14:33 CST 2010


Paul Vriens wrote:
> Hi,
> 
> On VMware with the "Standard VGA" adapter and on VirtualBox there are no
> adapters returned when enumerating.
> 
> I didn't use broken() as 'no adapters' seems somehow a valid return
> (added Henri to the cc: to prove me wrong). There is a skip() anyway if
> the creation failed.
> 
> There will be a patch for dxgi as well along these same lines but I'm
> waiting for responses on this one.
>
This issue has come up before, and although it's a valid return value it
still seems suspicious that VMware / VirtualBox would claim the system
has no graphics adapters. If someone could figure out the reason for
that it would be appreciated. I also seem to remember this being unique
to Windows 7. That said, in principle the patch is ok with me.

Henri



More information about the wine-patches mailing list