mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[WIN32K]
Try to fix RLE regression svn path=/trunk/; revision=56465
This commit is contained in:
parent
1ba4501780
commit
725ac201be
1 changed files with 2 additions and 2 deletions
|
@ -31,9 +31,9 @@ VOID DecompressBitmap(SIZEL Size, BYTE *CompressedBits, BYTE *UncompressedBits,
|
|||
BYTE *temp;
|
||||
INT shift = 0;
|
||||
|
||||
if (Format == BMF_4RLE)
|
||||
if ((Format == BMF_4RLE) || (Format == BMF_4BPP))
|
||||
shift = 1;
|
||||
else if(Format != BMF_8RLE)
|
||||
else if ((Format != BMF_8RLE) || (Format == BMF_8BPP))
|
||||
return;
|
||||
|
||||
width = ((Size.cx + shift) >> shift);
|
||||
|
|
Loading…
Reference in a new issue