8 Jun
2020
8 Jun
'20
5:08 a.m.
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?