Add option to toggle mipmapping , default false

This commit is contained in:
raven02 authored and unknown committed 2013-04-03 07:38:13 +08:00
1 parent 44b22bc6ff
commit 87e24ea938
4 files changed
+25 -17

No files matched your search

+2
View File
@@ -94,6 +94,7 @@ void Config::Load(const char *iniFileName)
graphics->Get("FullScreen", &bFullScreen, false);
graphics->Get("StretchToDisplay", &bStretchToDisplay, false);
graphics->Get("TrueColor", &bTrueColor, true);
graphics->Get("MipMap", &bMipMap, false);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Get("Enable", &bEnableSound, true);
@@ -162,6 +163,7 @@ void Config::Save()
graphics->Set("FullScreen", bFullScreen);
graphics->Set("StretchToDisplay", bStretchToDisplay);
graphics->Set("TrueColor", bTrueColor);
graphics->Set("MipMap", bMipMap);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Set("Enable", bEnableSound);