D3D11: CORRUPTION

Started by
11 comments, last by forsandifs 13 years, 6 months ago
You can check the HRESULT of Map, perhaps it's failing?

Is the context object immediate or deferred?
Advertisement
Thank you.

On checking the HRESULT returned by the Map call, it seems it does not fail.

The context is immediate.
Well, I fixed the issue I was having, though I have no idea why it was occurring.

Basically I deleted all the code relating to the host side initialization of the buffer, and pasted in like code from another project of mine which I KNEW did work, and the D3D11: CORRUPTION went away... It might be worth noting that this version of the code uses UpdateSubResource rather than Map.

Anyway, thanks all.

This topic is closed to new replies.

Advertisement