Improve robustness of EGL retry logic for 10-bit color

This commit is contained in:
Cameron Gutman committed 2022-01-29 01:12:38 -06:00
1 parent 1cbdd0e675
commit 3fcf31d009
2 files changed
+18 -4

No files matched your search

@@ -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;
};