mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Quick fix for always using OpenGL rendering, no matter the selected rendersystem
This commit is contained in:
parent
ada552ed1f
commit
0defc590bc
@ -346,9 +346,9 @@ void GraphicsPage::readConfig()
|
||||
|
||||
void GraphicsPage::writeConfig()
|
||||
{
|
||||
mOgre->setRenderSystem(mSelectedRenderSystem);
|
||||
|
||||
if (mDirect3DRenderSystem) {
|
||||
mOgre->setRenderSystem(mDirect3DRenderSystem);
|
||||
|
||||
// Nvidia Performance HUD
|
||||
if (mD3DNvPerfCheckBox->checkState() == Qt::Checked) {
|
||||
mDirect3DRenderSystem->setConfigOption("Allow NVPerfHUD", "Yes");
|
||||
@ -381,8 +381,6 @@ void GraphicsPage::writeConfig()
|
||||
}
|
||||
|
||||
if (mOpenGLRenderSystem) {
|
||||
mOgre->setRenderSystem(mOpenGLRenderSystem);
|
||||
|
||||
// Display Frequency
|
||||
mOpenGLRenderSystem->setConfigOption("Display Frequency", mOGLFrequencyComboBox->currentText().toStdString());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user