Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw NoSuitableGraphicsDeviceException if graphics device creation fails #5130



Copy link

commented Aug 22, 2016

Resolves #5123

As per issue #5123, this catches any exceptions during graphics device creation and wraps them in a NoSuitableGraphicsDeviceException. This allows the MonoGame user to catch this exception and handle appropriately (e.g. informing the user to check that their graphics device is compatible and that drivers are up to date).


This comment has been minimized.

Copy link

commented Aug 26, 2016

Thanks @MichaelDePiazzi ... this works for me.

@tomspilman tomspilman added this to the 3.6 Release milestone Aug 26, 2016

@tomspilman tomspilman merged commit 847c69d into MonoGame:develop Aug 26, 2016

7 checks passed

Build Mac, iOS, and Linux Finished TeamCity Build MonoGame :: Build Mac : Running
Build Windows, Web, Android, and OUYA Finished TeamCity Build MonoGame :: Build Windows : Running
Generate Documentation Finished TeamCity Build MonoGame :: Generate Documentation : Running
Package Mac and Linux Finished TeamCity Build MonoGame :: Package Mac and Linux : Running
Package NuGet Finished TeamCity Build MonoGame :: Package NuGet : Running
Package Windows SDK Finished TeamCity Build MonoGame :: Package Windows : Running
Test Windows Finished TeamCity Build MonoGame :: Test Windows : Tests passed: 851, ignored: 7

@MichaelDePiazzi MichaelDePiazzi deleted the MichaelDePiazzi:NoSuitableGraphicsDeviceException branch Aug 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.