From 28816705c63e687856dd5998a2f686d6c645f322 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 3 Aug 2000 00:22:59 +0000 Subject: [PATCH] One of the 24/32 convert color masks was wrong. --- dlls/ddraw/convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ddraw/convert.c b/dlls/ddraw/convert.c index 5097e85df94..fc0a5855a58 100644 --- a/dlls/ddraw/convert.c +++ b/dlls/ddraw/convert.c @@ -204,7 +204,7 @@ static void pixel_convert_32_to_24( } Convert ModeEmulations[6] = { - { { 32, 24, 0x00FF0000, 0x0000FF00, 0x000000FF }, { 24, 24, 0xFF0000, 0x0FF0000, 0x00FF }, { pixel_convert_32_to_24, NULL } }, + { { 32, 24, 0x00FF0000, 0x0000FF00, 0x000000FF }, { 24, 24, 0xFF0000, 0x0000FF00, 0x00FF }, { pixel_convert_32_to_24, NULL } }, { { 32, 24, 0x00FF0000, 0x0000FF00, 0x000000FF }, { 8, 8, 0x00, 0x00, 0x00 }, { pixel_convert_32_to_8, palette_convert_24_to_8 } }, { { 32, 24, 0x00FF0000, 0x0000FF00, 0x000000FF }, { 16, 16, 0xF800, 0x07E0, 0x001F }, { pixel_convert_32_to_16, NULL } }, { { 24, 24, 0xFF0000, 0x00FF00, 0x0000FF }, { 8, 8, 0x00, 0x00, 0x00 }, { pixel_convert_24_to_8, palette_convert_24_to_8 } },