ddraw: Convert to integer before adjusting the clipped source rect.
commit31f3120815721c36b3f31a66e91a564aa3c5165b
authorHenri Verbeet <hverbeet@codeweavers.com>
Fri, 6 Jan 2012 10:20:05 +0000 (6 11:20 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 6 Jan 2012 18:24:20 +0000 (6 19:24 +0100)
tree40afd5bbf96cdd30872cb77f6c523dbd6a57db1e
parentf17e7148578939dbfac67bcb67746831819db5d9
ddraw: Convert to integer before adjusting the clipped source rect.

This makes a difference for the bottom and right edges, and we could end up
with an empty source rectangle otherwise.
dlls/ddraw/surface.c
dlls/ddraw/tests/ddraw1.c
dlls/ddraw/tests/ddraw2.c
dlls/ddraw/tests/ddraw4.c
dlls/ddraw/tests/ddraw7.c