mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[GDI32] Allow BI_BITFIELDS compression in CreateDIBitmap (#2448)
CORE-16750, CORE-15960
This commit is contained in:
parent
6e79e60883
commit
6020af2014
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ CreateDIBitmap(
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if the Compr is incompatible */
|
/* Check if the Compr is incompatible */
|
||||||
if ((Compression == BI_JPEG) || (Compression == BI_PNG) || (Compression == BI_BITFIELDS))
|
if ((Compression == BI_JPEG) || (Compression == BI_PNG))
|
||||||
{
|
{
|
||||||
DPRINT1("Invalid compression: %lu!\n", Compression);
|
DPRINT1("Invalid compression: %lu!\n", Compression);
|
||||||
goto Exit;
|
goto Exit;
|
||||||
|
|
Loading…
Reference in a new issue