dwrite: Bitmap render target uses top-down DIB.

This commit is contained in:
Nikolay Sivov 2015-07-22 11:54:02 +03:00 committed by Alexandre Julliard
parent 1709635f29
commit a66ba8957e
1 changed files with 1 additions and 1 deletions

View File

@ -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;