[PATCH 3/3] windowscodecs: Implement DdsFrameDecode_Dds_CopyBlocks().

Ziqing Hui zhui at codeweavers.com
Mon Jun 8 00:08:14 CDT 2020


I'm not sure... I'll write some test code to find out.

On 6/6/20 12:01 AM, Esme Povirk (they/them) wrote:
> +    if (!boundsInBlocks) {
> +        size = This->info.width_in_blocks *
> This->info.height_in_blocks * This->info.bytes_per_block;
> +        if (bufferSize < size) return E_INVALIDARG;
> +        memcpy(buffer, This->data, size);
> +        return S_OK;
> +    }
>
> This ignores the stride passed in. Are you sure about this?



More information about the wine-devel mailing list