[Bug 29162] Gens 11b rerecording: fails to initialize drawing surface

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 6 12:16:14 CST 2011


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

--- Comment #13 from Stefan Dösinger <stefan at codeweavers.com> 2011-12-06 12:16:14 CST ---
(In reply to comment #12)
> I made the ports again, using the new tests you added. I also modified the text
> for test failure to be more consistent and always include the interface in
> question; I combined your patch in mine due to this.
My test is missing at least one thing: Test pitch != width * format_bpp,
especially pitch < width * format_bpp. I'll adjust my test and send it to
wine-patches. Once my test is applied you can send your patches. This is easier
than merging the changes into one patch: It keeps the patches smaller and the
authorship clear.

> I looked at the docs, and it seems that using DirectDrawCreateEx would fail
> with DDERR_DIRECTDRAWALREADYCREATED in this case -- there already is a
> DirectDraw created. So I left it out.
Hmm, it worked for me for the QueryInterface tests I recently wrote(not yet
sent in). I guess the docs are wrong here, or probably it only works that way
when one of the instances is in exclusive mode.

-- 
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