mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
OGL: Fix crash when opening graphics window on another backend
This commit is contained in:
parent
3d61b1a1d5
commit
7efdd1070b
3 changed files with 3 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue