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

Esme Povirk (they/them) vincent at codeweavers.com
Fri Jun 5 11:01:51 CDT 2020


+    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