Fix initializing the graphics module after a window is opened.

This commit is contained in:
Alex Szpakowski
2021-12-26 12:34:47 -04:00
parent 19feec43f9
commit 045f5ff0a5
4 changed files with 13 additions and 16 deletions
+2
View File
@@ -172,6 +172,8 @@ private:
SDL_MetalView metalView;
#endif
graphics::Graphics::Renderer windowRenderer = graphics::Graphics::RENDERER_NONE;
bool displayedWindowError;
bool hasSDL203orEarlier;
ContextAttribs contextAttribs;