d3d8: Get rid of the format switching code in d3d8_device_CopyRects().
commitd5365aae28255c8cc55f12d39cc7fec8428a8889
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 29 Sep 2014 07:11:51 +0000 (29 09:11 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 29 Sep 2014 08:37:12 +0000 (29 10:37 +0200)
tree27921359a79fabb04af57c2f6f88e0d35555fd85
parent7dcfb9d3e55bab5a3422c85e85221e5279689d09
d3d8: Get rid of the format switching code in d3d8_device_CopyRects().

This can't possibly do anything, since we fail texture creation for
WINED3DFMT_UNKNOWN. If texture creation with D3DFMT_UNKNOWN is actually
supposed to work, we should probably pick an appropriate format at creation,
instead of during CopyRects(). This code has existed in some form or another
since the initial version in commit 850a9429dbc07c0b38e9f9f60aaec43759326d24.
No tests, of course.
dlls/d3d8/device.c