Huw Davies : gdi32/tests: Make the 32 bpp brush tests sensitive to a nibble swap in the 4 bpp case.

Alexandre Julliard julliard at winehq.org
Fri May 27 11:03:42 CDT 2011


Module: wine
Branch: master
Commit: 68d07efabc71c35e91a77c234953df7657206067
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=68d07efabc71c35e91a77c234953df7657206067

Author: Huw Davies <huw at codeweavers.com>
Date:   Fri May 27 13:02:31 2011 +0100

gdi32/tests: Make the 32 bpp brush tests sensitive to a nibble swap in the 4 bpp case.

---

 dlls/gdi32/tests/dib.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi32/tests/dib.c b/dlls/gdi32/tests/dib.c
index 915aec6..6300398 100644
--- a/dlls/gdi32/tests/dib.c
+++ b/dlls/gdi32/tests/dib.c
@@ -91,8 +91,8 @@ static const char *sha1_graphics_a8r8g8b8[] =
     "6c530622a025d872a642e8f950867884d7b136cb",
     "7c07d91b8f68fb31821701b3dcb96de018bf0c66",
     "b2261353decda2712b83538ab434a49ce21f3172",
-    "a8b59f25984b066fc6b91cae6bf983a78028ba7f",
-    "3d95adb85b9673a932ac847a4b5451fa59885f74",
+    "ef654fedcb494dae79559f4db8b691ae2d522a3f",
+    "a694872f38e66a7ff471440c3e6a9310ef78328a",
     "e2a8eef4aeda3a0f6c950075acba38f1f9e0814d",
     "8b66f14d51ecdeea12bc993302bb9b7d3ec085a1",
     "7da9dd3d40d44d92deb9883fb7110443c2d5769a",
@@ -451,6 +451,7 @@ static void draw_graphics(HDC hdc, BITMAPINFO *bmi, BYTE *bits, const char ***sh
     memset(brush_bits, 0, 16 * 16 * sizeof(DWORD));
     brush_bits[2] = 0xff;
     brush_bits[6] = 0xff;
+    brush_bits[14] = 0xff;
     brush_bits[65] = 0xff;
     brush_bits[69] = 0xff;
 




More information about the wine-cvs mailing list