gdi32: Fixed GetDIBits for top-down bitmaps (try 2).

Alexandre Julliard julliard at
Tue Feb 15 10:08:03 CST 2011

Jack Edmonds <pocketcookies2 at> writes:

> gdi32/dib.c:          Reversed source bitmap pointer instead of destination bitmap pointer.
>                       Removed check for destination bitmap height when determining whether to copy the source bitmap upside down.
> gdi32/tests/bitmap.c: Added a test for copying between top-down bitmaps.

The rest of the code won't cope so well with a negative source

Alexandre Julliard
julliard at

More information about the wine-devel mailing list