Work around bug where GLES surface creation repeatedly fails on X11
This commit is contained in:
parent
18654cb011
commit
2f3a1a5d79
2 changed files with 14 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue