failed creating the Direct3d device--debug

D3DDEVTYPE_REF

使用REF设备,用软件模拟Direct3D API

照理说是为了让电脑能跑本机不能硬件执行的渲染命令的

但我

pDeviceSettings->d3d9.DeviceType = D3DDEVTYPE_REF;

就会报failed creating the Direct3d device

当我用PIX 的trigger时 modify d3d device Force REF

也会引发同样的error

先记录下来

重新装了遍dx的sdk就好了

我估计是因为 装了俩dx 然后卸掉了其中一个 就把什么公用的东西给卸载了 

导致这个异常吧

原文地址:https://www.cnblogs.com/minggoddess/p/3565288.html