dwrite: Bitmap render target uses top-down DIB.
This commit is contained in:
parent
1709635f29
commit
a66ba8957e
|
@ -55,7 +55,7 @@ static HRESULT create_target_dibsection(HDC hdc, UINT32 width, UINT32 height)
|
|||
|
||||
memset(bmi, 0, sizeof(bmibuf));
|
||||
bmi->bmiHeader.biSize = sizeof(bmi->bmiHeader);
|
||||
bmi->bmiHeader.biHeight = height;
|
||||
bmi->bmiHeader.biHeight = -height;
|
||||
bmi->bmiHeader.biWidth = width;
|
||||
bmi->bmiHeader.biBitCount = 32;
|
||||
bmi->bmiHeader.biPlanes = 1;
|
||||
|
|
Loading…
Reference in New Issue