wined3d: Fix partial depth buffer copies.
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 4 Apr 2011 15:46:02 +0000 (17:46 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 5 Apr 2011 09:13:46 +0000 (11:13 +0200)
commit032f8702edc769ba42e23034ef9dcc3854efd928
tree78a3311edc58bbda8879974e44a1da0cba036528
parent0ce17ea27ec2d89750d352bc83d89859a9846d58
wined3d: Fix partial depth buffer copies.

Don't overwrite the entire buffer if only part of it is not current. The data
we're copying may not be completely current either. This is for the case where
the inner rect is not current and the outer edge is. The reverse case where
the inner rect is current and we need to mask already works correctly.
dlls/wined3d/surface.c