Work around bug where GLES surface creation repeatedly fails on X11

This commit is contained in:
Cameron Gutman 2020-09-07 23:53:29 -07:00
commit 2f3a1a5d79
2 changed files with 14 additions and 0 deletions

View file

@ -44,4 +44,8 @@ private:
int m_OldContextMinorVersion;
SDL_Renderer *m_DummyRenderer;
// HACK: Work around bug where renderer will repeatedly fail with:
// SDL_CreateRenderer() failed: Could not create GLES window surface
static SDL_Window* s_LastFailedWindow;
};