Module: wine Branch: master Commit: 8ca711f4286343fb4e5a8116722771a1334f60e2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ca711f4286343fb4e5a811672...
Author: Stefan Dösinger stefan@codeweavers.com Date: Wed May 7 15:16:38 2014 +0200
ddraw/tests: Test palette alpha behavior.
What I care about here is that setting peFlags != 0 doesn't cause errors either during ddraw palette creation or DIB section creation. peFlags isn't an alpha channel, but P8 textures abuse it that way, hence the name of the test. It probably has deeper meaning in DDSCL_NORMAL when the X server is running in 8 bit paletteindexed mode, but I don't think we really care about this.
---
dlls/ddraw/tests/ddraw1.c | 158 ++++++++++++++++++++++++++++++++++++++++++ dlls/ddraw/tests/ddraw2.c | 166 +++++++++++++++++++++++++++++++++++++++++++++ dlls/ddraw/tests/ddraw4.c | 154 +++++++++++++++++++++++++++++++++++++++++ dlls/ddraw/tests/ddraw7.c | 154 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 632 insertions(+)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=8ca711f4286343fb4e5a81...