[1/6] gdiplus: added GdipBitmapLockBits/GdipBitmapUnlockBits

Alexandre Julliard julliard at winehq.org
Tue Aug 7 09:09:58 CDT 2007


"Evan Stade" <estade at gmail.com> writes:

> +    bm_is_selected = (BOOL) hdc;

That's ugly, you should use something like (hdc != 0) instead.

> +    stride = bmi.bmiHeader.biWidth * bitspp / 8;
> +    stride += stride % 4;

This doesn't do what you want.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list