wined3d: Test and fix ddraw and d3d9 GetDC differences.
authorStefan Dösinger <stefan@codeweavers.com>
Sat, 5 Sep 2009 14:37:19 +0000 (16:37 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 8 Sep 2009 11:04:52 +0000 (13:04 +0200)
commite1469961d42d0eb077d3fa0236de17b56bc51a56
tree77bdf37d867bed9dd9e3b781728dde3548307727
parent65f3d54da52784a07552adc7cb3dce272bc5d5e9
wined3d: Test and fix ddraw and d3d9 GetDC differences.

The MSDN is not totally correct: A8R8G8B8 and A1R5G5B5 also allow GetDC. The
main differences that have to be filtered out in d3d9.dll are GetDC on
A8B8G8R8, X8B8G8R8 and P8.
dlls/d3d9/d3d9_private.h
dlls/d3d9/device.c
dlls/d3d9/surface.c
dlls/d3d9/tests/surface.c
dlls/ddraw/surface.c
dlls/ddraw/tests/dsurface.c
dlls/wined3d/surface.c
dlls/wined3d/surface_base.c
dlls/wined3d/surface_gdi.c
dlls/wined3d/utils.c
dlls/wined3d/wined3d_private.h