Rico Schüller : ddraw/tests: Fis some ok() lines in alpha_test().

Alexandre Julliard julliard at winehq.org
Tue Dec 23 13:41:34 CST 2008


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

Author: Rico Schüller <kgbricola at web.de>
Date:   Mon Dec 22 21:23:35 2008 +0100

ddraw/tests: Fis some ok() lines in alpha_test().

---

 dlls/ddraw/tests/visual.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/ddraw/tests/visual.c b/dlls/ddraw/tests/visual.c
index 030354a..c200623 100644
--- a/dlls/ddraw/tests/visual.c
+++ b/dlls/ddraw/tests/visual.c
@@ -739,28 +739,28 @@ static void alpha_test(IDirect3DDevice7 *device)
     green = (color & 0x0000ff00) >>  8;
     blue =  (color & 0x000000ff);
     ok(red >= 0xbe && red <= 0xc0 && green >= 0x39 && green <= 0x41 && blue == 0x00,
-       "SRCALPHA on frame buffer returned color %08x, expected 0x00bf4000\n", color);
+       "SRCALPHA on frame buffer returned color 0x%08x, expected 0x00bf4000\n", color);
 
     color = getPixelColor(device, 160, 120);
     red =   (color & 0x00ff0000) >> 16;
     green = (color & 0x0000ff00) >>  8;
     blue =  (color & 0x000000ff);
     ok(red == 0x00 && green == 0x00 && blue >= 0xfe && blue <= 0xff ,
-       "DSTALPHA on frame buffer returned color %08x, expected 0x00ff0000\n", color);
+       "DSTALPHA on frame buffer returned color 0x%08x, expected 0x000000ff\n", color);
 
     color = getPixelColor(device, 480, 360);
     red =   (color & 0x00ff0000) >> 16;
     green = (color & 0x0000ff00) >>  8;
     blue =  (color & 0x000000ff);
     ok(red >= 0xbe && red <= 0xc0 && green >= 0x39 && green <= 0x41 && blue == 0x00,
-       "SRCALPHA on texture returned color %08x, expected bar\n", color);
+       "SRCALPHA on texture returned color 0x%08x, expected 0x00bf4000\n", color);
 
     color = getPixelColor(device, 480, 120);
     red =   (color & 0x00ff0000) >> 16;
     green = (color & 0x0000ff00) >>  8;
     blue =  (color & 0x000000ff);
     ok(red >= 0x7e && red <= 0x81 && green == 0x00 && blue >= 0x7e && blue <= 0x81,
-       "DSTALPHA on texture returned color %08x, expected foo\n", color);
+       "DSTALPHA on texture returned color 0x%08x, expected 0x00800080\n", color);
 
     out:
     if(offscreen) IDirectDrawSurface7_Release(offscreen);




More information about the wine-cvs mailing list