Merge pull request #6 from ace13/launcherfixes

Launcherfixes
This commit is contained in:
pvdk 2011-09-07 06:18:55 -07:00
commit f9c37934f3

View file

@ -346,9 +346,9 @@ void GraphicsPage::readConfig()
void GraphicsPage::writeConfig()
{
if (mDirect3DRenderSystem) {
mOgre->setRenderSystem(mDirect3DRenderSystem);
mOgre->setRenderSystem(mSelectedRenderSystem);
if (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());