[Bug 13595] DirectX : Sprite borders are 1 pixel lower in Double Dragon Forever ( ddf )

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 31 18:51:06 CDT 2008


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





--- Comment #7 from cleber <cleberdemattoscasali-hotpop at yahoo.com.br>  2008-07-31 18:51:05 ---
After a lot of research...

It goes like that:

1) My program loads the bitmap (big) and makes a big texture of it

2) It creates a smaller offscreen buffer

3) The big texture is pasted to the offscreen buffer, using determined
horizontal and vertical offsets. So, this offscreen buffer will contain only a
portion of our big texture image

4) The data from the offscreen buffer is used to generate a new smaller
texture, that will be used as a sprite frame

5) Program changes the offsets, and goes to 3 again. It will not stop until all
sprite frames are created.

The bug happens on step (3). The vertical offset is wrong. Wine's directx just
pastes the image one line higher than windows' directx. 


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