libretro: Disable context caching

It's completely broken in RetroArch, see https://github.com/libretro/RetroArch/issues/11623
This commit is contained in:
Connor McLaughlin
2020-11-27 01:39:18 +10:00
parent f7a75941b5
commit b2de5945c4
4 changed files with 14 additions and 14 deletions

View File

@@ -79,7 +79,7 @@ static bool TryESVersions(retro_hw_render_callback* cb)
bool LibretroOpenGLHostDisplay::RequestHardwareRendererContext(retro_hw_render_callback* cb, bool prefer_gles)
{
// Prefer a desktop OpenGL context where possible. If we can't get this, try OpenGL ES.
cb->cache_context = true;
cb->cache_context = false;
cb->bottom_left_origin = true;
if (!prefer_gles)