Partially revert e64b15d and b85d5b8

These changes cause excessive window recreation using the Flatpak on Nvidia with Wayland
This commit is contained in:
Cameron Gutman committed 2022-03-19 14:50:38 -05:00
1 parent 99495cff90
commit 2fc1dda232
2 files changed
+15 -27

No files matched your search

@@ -63,6 +63,10 @@ private:
#define OVERLAY_PARAM_TEXTURE 0
int m_OverlayShaderProgramParams[1];
int m_OldContextProfileMask;
int m_OldContextMajorVersion;
int m_OldContextMinorVersion;
SDL_Renderer *m_DummyRenderer;
// HACK: Work around bug where renderer will repeatedly fail with: