Improve robustness of EGL retry logic for 10-bit color

This commit is contained in:
Cameron Gutman
2022-01-29 01:12:38 -06:00
parent 1cbdd0e675
commit 3fcf31d009
2 changed files with 18 additions and 4 deletions
@@ -68,4 +68,5 @@ private:
// 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;
};