[Bug 29573] Battle.net System Check reports zero (0) megabytes of video RAM

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 4 12:19:42 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=29573

--- Comment #7 from Henri Verbeet <hverbeet at gmail.com> 2012-09-04 12:19:42 CDT ---
(In reply to comment #6)
> How does the attached look?  It looks like the DirectDrawEnumerateA callback is
Looks ok, though the adapter index is supposed to be unsigned, and I'd probably
have done something like this for the loop in there:

for (adapter = 0;; ++adapter)
{
    ...
    if (FAILED(hr))
        break;
    ...
}

> incompatible with the DirectDrawEnumerateExA callback, should I maybe make an
> internal function for both routines to call so that it can handle both?
Maybe, although I'm not sure if it'll end up really being worth it. You could
perhaps also do something similar to ddraw_surface4_EnumAttachedSurfaces() and
similar functions.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list