Avoid retrying renderer init if we know the error was not transient
This commit is contained in:
parent
351aaa6759
commit
fd70865026
13 changed files with 116 additions and 32 deletions
|
|
@ -74,9 +74,4 @@ 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;
|
||||
static int s_LastFailedVideoFormat;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue