[PATCH 2/7] gdiplus: Initialize bitmap bits for reading in GdipBitmapLockBits when ImageFlagsReadOnly is specified

Dmitry Timoshkov dmitry at baikal.ru
Wed Feb 8 19:16:13 CST 2017


Piotr Caban <piotr at codeweavers.com> wrote:

>      /* Make sure we can convert to the requested format. */
> -    if (flags & ImageLockModeRead)
> +    if ((flags & ImageLockModeRead) || (bitmap->image.flags & ImageFlagsReadOnly))

Is there a test for this behaviour?

-- 
Dmitry.



More information about the wine-devel mailing list