Closed GoogleCodeExporter closed 8 years ago
Mainly as pointed out by dieter, you should be able to pass "null" for the
DataBox parameter to specify the whole surface, but right now slimdx will throw
an exception if you do.
Original comment by Mike.Popoloski
on 13 Jul 2010 at 9:49
I looked into this a bit more, and found at the source of your problem by
looking at the debug output. In the future, you should check this whenever you
have a problem:
D3D11: ERROR: ID3D11DeviceContext::UpdateSubresource: Can only invoke
UpdateSubresource when the destination Resource was created with
D3D11_USAGE_DEFAULT and is not a multisampled Resource. The destination
Resource has (1) samples. [ RESOURCE_MANIPULATION ERROR #289:
UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE ]
As such, this isn't an actual issue.
Original comment by Mike.Popoloski
on 30 Aug 2010 at 6:32
Original issue reported on code.google.com by
Karna...@gmail.com
on 13 Jul 2010 at 8:00