winex11.drv: Use the bitmap's "topdown" field in X11DRV_SetDIBits().

This commit is contained in:
Henri Verbeet 2010-03-01 12:39:52 +01:00 committed by Alexandre Julliard
parent f331fe4c27
commit a2d569a0e6
1 changed files with 1 additions and 1 deletions

View File

@ -4054,7 +4054,7 @@ INT CDECL X11DRV_SetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT start
UINT y;
TRACE("syncing compatible set bits to app bits\n");
if ((tmpheight < 0) ^ (ds.dsBmih.biHeight < 0))
if ((tmpheight < 0) ^ physBitmap->topdown)
{
dbits += dstwidthb * (lines-1);
dstwidthb = -dstwidthb;