Closed GoogleCodeExporter closed 9 years ago
I dont think this is a problem with SlimDX, since the underlying D3D
MapSubresource() call does not allow you to specify a size(or box) when
mapping.
You should probably just remove the size arg from the call.
Original comment by dbl...@fastmail.fm
on 15 Nov 2011 at 12:51
Perhaps you could also add your own range checks if you wish(or an extension
method).
Original comment by dbl...@fastmail.fm
on 15 Nov 2011 at 12:52
Yes, the native call always mapped the entire range of the resource. The length
argument didn't affect what got mapped, only how big the DataStream thought the
memory was. Since this was confusing and did not match native behavior, we
changed it to figure out how big the size should be on its own.
Original comment by Mike.Popoloski
on 15 Nov 2011 at 4:52
Original issue reported on code.google.com by
to...@iki.fi
on 26 Oct 2011 at 6:35