mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 12:24:48 +00:00
[WIN32K] Don't trust the BITMAPINFOHEADER size
This is not entirely correct yet, but less wrong than before CORE-16621
This commit is contained in:
parent
42d2d5ec9c
commit
53c9a6deaa
1 changed files with 1 additions and 1 deletions
|
@ -1288,7 +1288,7 @@ NtGdiStretchDIBitsInternal(
|
||||||
BitmapFormat(pbmi->bmiHeader.biBitCount,
|
BitmapFormat(pbmi->bmiHeader.biBitCount,
|
||||||
pbmi->bmiHeader.biCompression),
|
pbmi->bmiHeader.biCompression),
|
||||||
pbmi->bmiHeader.biHeight < 0 ? BMF_TOPDOWN : 0,
|
pbmi->bmiHeader.biHeight < 0 ? BMF_TOPDOWN : 0,
|
||||||
pbmi->bmiHeader.biSizeImage,
|
cjMaxBits,
|
||||||
pvBits,
|
pvBits,
|
||||||
0);
|
0);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue