From 7d8d83ff0155676a81523e8f5fa0f4f6a634c521 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Mon, 27 Dec 2004 16:45:19 +0000 Subject: [PATCH] - BitmapFormat should handle BI_BITFIELDS compression type. svn path=/trunk/; revision=12365 --- reactos/subsys/win32k/eng/surface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/win32k/eng/surface.c b/reactos/subsys/win32k/eng/surface.c index 952aa01cad3..0adde16470e 100644 --- a/reactos/subsys/win32k/eng/surface.c +++ b/reactos/subsys/win32k/eng/surface.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: surface.c,v 1.47 2004/12/18 17:12:32 royce Exp $ +/* $Id: surface.c,v 1.48 2004/12/27 16:45:19 navaraf Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -60,6 +60,7 @@ ULONG FASTCALL BitmapFormat(WORD Bits, DWORD Compression) switch(Compression) { case BI_RGB: + case BI_BITFIELDS: switch(Bits) { case 1: return BMF_1BPP;