That's the problem with directxtutorial and why it is shunned here. No error checking.
I'm pretty sure that D3DX11CompileFromFile is failing. Check the result code everything you call, never assume that it'll work. Are the .hlsl files in the main project folder?
The crash is a NULL pointer access in the line the debugger showed you.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement