mirror of
https://github.com/reactos/reactos.git
synced 2024-06-27 08:21:31 +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
|
@ -1288,7 +1288,7 @@ NtGdiStretchDIBitsInternal(
|
|||
BitmapFormat(pbmi->bmiHeader.biBitCount,
|
||||
pbmi->bmiHeader.biCompression),
|
||||
pbmi->bmiHeader.biHeight < 0 ? BMF_TOPDOWN : 0,
|
||||
pbmi->bmiHeader.biSizeImage,
|
||||
cjMaxBits,
|
||||
pvBits,
|
||||
0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue