XNA中出现 NoSuitableGraphicsDeviceException

我用XNA提供的模板 建立一个 SpaceWar
编译通过了...

运行的时候出现

this.GameComponents.Add(this.graphics);
这句话发生
NoSuitableGraphicsDeviceException
怎么回事呢?? 

 

有人说我的显卡不支持但是我玩魔兽,CS,三国无双等游戏的时候都没有问题.很流畅.

我已经安装了Microsoft DirectX SDK (August 2006)

最后到XNA的官方上看了一下.找到了解决方法.

构造graphics之后

加上

graphics.AllowMultiSampling = false;

看来还是我的显卡的问题,
不管了.先凑合着玩一下

posted @ 2006-10-09 02:47  T.t.T!Ck.¢#  阅读(769)  评论(2编辑  收藏  举报