Just Downloaded XNA Beta and I had to change the template code to get it to work

I think I am probably in a minority with the XNA, I am running on a really old athlon with a Geforce 2MX and I had to change some code because of a Device Creation Exception.
If you get some errors, check the inner exceptions and see if it is your device, i.e. Graphics Card that is causing the problems. In my case my device doesn’t support MultiSampling on the Backbuffer so I had to add the following line to the InitilizeComponent in the Game object.


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan

<p>I think I am probably in a minority with the XNA, I am running on a really old athlon with a Geforce 2MX and I had to change some code because of a Device Creation Exception.</p> <p>If you get some errors, check the inner exceptions and see if it is your device, i.e. Graphics Card that is causing the problems. </p> <p>In my case my device doesn't support MultiSampling on the Backbuffer so I had to add the following line to the InitilizeComponent in the Game object.</p> <p>Before:</p> <p align="left">this.graphics =  new Microsoft.Xna.Framework.Components.GraphicsComponent(); </p> <p align="left">this.GameComponents.Add(this.graphics); </p><p align="left">After:</p> <p align="left">this.graphics =  new Microsoft.Xna.Framework.Components.GraphicsComponent(); </p> <p align="left">this.graphics.AllowMultiSampling = false;</p> <p align="left">this.GameComponents.Add(this.graphics);</p> <p align="left">I hope this helps.</p> <p> </p> <p>ps if anyone wants to donate any hardware email me ;)</p> <p><a href="http://www.kinlan.co.uk/tag/xna" rel="tag" target="_blank">xna</a>, <a href="http://www.kinlan.co.uk/tag/directx" rel="tag" target="_blank">directx</a></p>


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan


Print Share Comment Cite Upload Translate Updates
APA

Paul Kinlan | Sciencx (2006-08-30T00:00:00+00:00) Just Downloaded XNA Beta and I had to change the template code to get it to work. Retrieved from https://www.scien.cx/2006/08/30/just-downloaded-xna-beta-and-i-had-to-change-the-template-code-to-get-it-to-work/

MLA
" » Just Downloaded XNA Beta and I had to change the template code to get it to work." Paul Kinlan | Sciencx - Wednesday August 30, 2006, https://www.scien.cx/2006/08/30/just-downloaded-xna-beta-and-i-had-to-change-the-template-code-to-get-it-to-work/
HARVARD
Paul Kinlan | Sciencx Wednesday August 30, 2006 » Just Downloaded XNA Beta and I had to change the template code to get it to work., viewed ,<https://www.scien.cx/2006/08/30/just-downloaded-xna-beta-and-i-had-to-change-the-template-code-to-get-it-to-work/>
VANCOUVER
Paul Kinlan | Sciencx - » Just Downloaded XNA Beta and I had to change the template code to get it to work. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2006/08/30/just-downloaded-xna-beta-and-i-had-to-change-the-template-code-to-get-it-to-work/
CHICAGO
" » Just Downloaded XNA Beta and I had to change the template code to get it to work." Paul Kinlan | Sciencx - Accessed . https://www.scien.cx/2006/08/30/just-downloaded-xna-beta-and-i-had-to-change-the-template-code-to-get-it-to-work/
IEEE
" » Just Downloaded XNA Beta and I had to change the template code to get it to work." Paul Kinlan | Sciencx [Online]. Available: https://www.scien.cx/2006/08/30/just-downloaded-xna-beta-and-i-had-to-change-the-template-code-to-get-it-to-work/. [Accessed: ]
rf:citation
» Just Downloaded XNA Beta and I had to change the template code to get it to work | Paul Kinlan | Sciencx | https://www.scien.cx/2006/08/30/just-downloaded-xna-beta-and-i-had-to-change-the-template-code-to-get-it-to-work/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.