zhigu 发表于 2007-4-1 11:32:00

解决不支持Dx9的显卡开发XNA问题!(Could not find a Direct3D device compati

<p>转帖.</p><p>如果您在开发中遇到这种运行XNA时出现:Could not find a Direct3D device compatible with the current device preferences 提示,说明您的显卡不支持DirectX9.0C...可以这样解决,点开始 -- 运行 -- 输入dxdiag 回车-- 弹出DirectX设置页面--显示--把DirectX功能栏下的DirectDraw加速点为启用,把Direct3D也点为启用,然后退出.运行这时会报:The values used in the attempt to create the GraphicsDevice were invalid. 然后我们要在报错当前行的上面添加一行 this.graphics.AllowMultiSampling = false;然后再次运行,OK,可以开始您的XNA开发了......</p>
页: [1]
查看完整版本: 解决不支持Dx9的显卡开发XNA问题!(Could not find a Direct3D device compati