Jan Sikorski : windowscodecs/tests: Add 32bppRGBA/BGRA converter tests.
Alexandre Julliard
julliard at winehq.org
Fri Oct 23 14:27:19 CDT 2020
Module: wine
Branch: master
Commit: 9668d44f4d90129c3752e725ee905e22b7367983
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9668d44f4d90129c3752e725ee905e22b7367983
Author: Jan Sikorski <jsikorski at codeweavers.com>
Date: Thu Oct 22 15:07:29 2020 +0200
windowscodecs/tests: Add 32bppRGBA/BGRA converter tests.
Signed-off-by: Esme Povirk <esme at codeweavers.com>
Signed-off-by: Jan Sikorski <jsikorski at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/windowscodecs/tests/converter.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/windowscodecs/tests/converter.c b/dlls/windowscodecs/tests/converter.c
index 87f68207c6c..0429b7a3af6 100644
--- a/dlls/windowscodecs/tests/converter.c
+++ b/dlls/windowscodecs/tests/converter.c
@@ -1890,6 +1890,9 @@ START_TEST(converter)
test_conversion(&testdata_32bppBGRA, &testdata_24bppRGB, "32bppBGRA -> 24bppRGB", FALSE);
test_conversion(&testdata_32bppRGBA, &testdata_24bppBGR, "32bppRGBA -> 24bppBGR", FALSE);
+ test_conversion(&testdata_32bppRGBA, &testdata_32bppBGRA, "32bppRGBA -> 32bppBGRA", FALSE);
+ test_conversion(&testdata_32bppBGRA, &testdata_32bppRGBA, "32bppBGRA -> 32bppRGBA", FALSE);
+
test_conversion(&testdata_64bppRGBA, &testdata_32bppRGBA, "64bppRGBA -> 32bppRGBA", FALSE);
test_conversion(&testdata_64bppRGBA, &testdata_32bppRGB, "64bppRGBA -> 32bppRGB", FALSE);
More information about the wine-cvs
mailing list