mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
OGL: Fix crash when opening graphics window on another backend
This commit is contained in:
@ -68,7 +68,7 @@ std::string VideoBackend::GetName() const
|
||||
|
||||
std::string VideoBackend::GetDisplayName() const
|
||||
{
|
||||
if (g_renderer && static_cast<Renderer*>(g_renderer.get())->IsGLES())
|
||||
if (g_ogl_config.bIsES)
|
||||
return _trans("OpenGL ES");
|
||||
else
|
||||
return _trans("OpenGL");
|
||||
|
Reference in New Issue
Block a user