From 0defc590bc2f6a1ee60a9852cee7eda3e962a0d3 Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Wed, 7 Sep 2011 10:17:46 +0200 Subject: [PATCH] Quick fix for always using OpenGL rendering, no matter the selected rendersystem --- apps/launcher/graphicspage.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/launcher/graphicspage.cpp b/apps/launcher/graphicspage.cpp index dc88b3ee86..c63dbda406 100644 --- a/apps/launcher/graphicspage.cpp +++ b/apps/launcher/graphicspage.cpp @@ -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());