[6/6] d3d9: Add a mova rounding test

Alexandre Julliard julliard at winehq.org
Wed Feb 28 07:02:43 CST 2007


"H. Verbeet" <hverbeet at gmail.com> writes:

> It should be noted that native d3d rounds to nearest even while Wine
> doesn't. Applications are not supposed to depend on that though.
>
> Changelog:
>  - Add a mova rounding test

The test fails here:

../../../tools/runtest -q -P wine -M d3d9.dll -T ../../.. -p d3d9_test.exe.so visual.c && touch visual.ok
visual.c:405: Test failed: Expected color 00ffff00, got 00000000 (for input -2.400000)
visual.c:405: Test failed: Expected color 00ffff00, got 00000000 (for input -1.600000)
visual.c:405: Test failed: Expected color 0000ffff, got 00000000 (for input -0.400000)
visual.c:405: Test failed: Expected color 0000ffff, got 00000000 (for input 0.400000)
visual.c:405: Test failed: Expected color 00ff00ff, got 00000000 (for input 1.600000)
visual.c:405: Test failed: Expected color 00ff00ff, got 00000000 (for input 2.400000)
make: *** [visual.ok] Error 6

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list