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

Graphics device disposed while in options state. #1036

Open
mklingen opened this issue Mar 23, 2019 · 0 comments
Open

Graphics device disposed while in options state. #1036

mklingen opened this issue Mar 23, 2019 · 0 comments

Comments

@mklingen
Copy link
Collaborator

https://sentry.io/organizations/cfg/issues/941009349/?project=192119&referrer=github_plugin

InvalidOperationException: Graphics device was null.
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Gui\RenderData.cs", line 26, in get_ActualScreenBounds
    Microsoft.Xna.Framework.Point get_ActualScreenBounds()
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Gui\RenderData.cs", line 40, in CalculateScale
    Int32 CalculateScale()
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Gui\Root.cs", line 319, in ScreenPointToGuiPoint
    Microsoft.Xna.Framework.Point ScreenPointToGuiPoint(Microsoft.Xna.Framework.Point)
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Gui\Root.cs", line 59, in .ctor
    Void .ctor(DwarfCorp.Gui.RenderData)
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\GameStates\OptionsState.cs", line 109, in RebuildGui
    Void RebuildGui()
...
(9 additional frame(s) were not displayed)

Graphics device was null.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant