"Attempted to read or write protected memory" on DrawIndexed()

Started by
11 comments, last by Narf the Mouse 11 years, 9 months ago
...My graphics card supports Feature Level 10.0.

*Puts "Get new graphics card" on the list of things to do, money depending*

Anyway, backstepped to a shader model 4_0 .fx file; fixed.

And now I feel a bit stupid.
Advertisement
How did the D3D runtime even let you get that far? I would've expected it to fail a lot sooner. Anyway, glad it's fixed smile.png

“If I understand the standard right it is legal and safe to do this but the resulting value could be anything.”


How did the D3D runtime even let you get that far? I would've expected it to fail a lot sooner. Anyway, glad it's fixed smile.png

Well, presumably nothing else used DirectX11 functionality, and the fact that I was loading a DX11 effect file just never occurred to it, I guess. Thanks.

This topic is closed to new replies.

Advertisement