I was running the sample code fine on an Microsoft Surface. Then I went to my laptop (an ASUS Zenbook), and the programs crash at this line, with an error message I don't understand at all. Any ideas?
Sorry, can't remember. I ended up giving up D3D and going to Vulkan. Not that it's any easier. But given how difficult these APIs are I wanted my efforts to be more cross-platform.
I was running the sample code fine on an Microsoft Surface. Then I went to my laptop (an ASUS Zenbook), and the programs crash at this line, with an error message I don't understand at all. Any ideas?
This is Chapter 4, Init Direct3D
d3dApp.cpp
The error message: