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

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 6 05:14:01 CST 2011


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

--- Comment #9 from Stefan Dösinger <stefan at codeweavers.com> 2011-12-06 05:14:01 CST ---
I compiled Gens on Windows and SetSurfaceDesc is called and succeeds. I did
some more testing:

*) DDSD_CAPS is the reason why the original description cannot be passed to
SetSurfaceDesc
*) DDSD_HEIGHT is changeable, but must not be set to 0
*) DDSD_WIDTH and DDSD_PITCH are changeable as well, but must not be 0 and must
be changed together. The pitch can be bigger than the one ddraw would
calculate.

What I forgot to test before I rebooted was if (width | pitch) or height need
DDSD_LPSURFACE as well, just like the pixelformat or if it can be set alone.

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