wined3d: Take alpha from device palette entry for d3d 8 and later.
commit5346039d5ad0a89df6d3d6656adecbae8ff3f214
authorAlexander Dorofeyev <alexd4@inbox.lv>
Mon, 18 Feb 2008 01:37:00 +0000 (17 17:37 -0800)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 19 Feb 2008 12:39:24 +0000 (19 13:39 +0100)
tree72f5176e59897323186d3af3bf2fe6b335a3d907
parent74c380cb7b6594ba0a917cf27d33b04b859c68e2
wined3d: Take alpha from device palette entry for d3d 8 and later.

Adds support for D3D >= 8 style palettes that contain alpha. This fixes
rendering problems in games like Commandos 3 and Madden NFL 2004.
dlls/wined3d/surface.c