人气 283

[游戏程序] 解决不支持Dx9的显卡开发XNA问题!(Could not find a Direct3D device compati ... [复制链接]

九艺网 2017-3-10 17:01:08

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
转帖.
如果您在开发中遇到这种运行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开发了......
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|小黑屋|九艺游戏动画论坛 ( 津ICP备2022000452号-1 )

GMT+8, 2024-4-25 22:24 , Processed in 0.136957 second(s), 23 queries .

Powered by Discuz! X3.4  © 2001-2017 Discuz Team.