mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-19 03:35:04 -04:00
UI: Continue to show OpenGL if already in use
Otherwise the user can't actually switch back to Direct3D since the settings panel doesn't consider the renderer to be modified.
This commit is contained in:
@@ -1041,7 +1041,7 @@ void OBSBasicSettings::LoadRendererList()
|
||||
"Renderer");
|
||||
|
||||
ui->renderer->addItem(QT_UTF8("Direct3D 11"));
|
||||
if (opt_allow_opengl)
|
||||
if (opt_allow_opengl || strcmp(renderer, "OpenGL") == 0)
|
||||
ui->renderer->addItem(QT_UTF8("OpenGL"));
|
||||
|
||||
int idx = ui->renderer->findText(QT_UTF8(renderer));
|
||||
|
||||
Reference in New Issue
Block a user