Add xBRZ texture scaling to Android/iOS

This commit is contained in:
Jacky TSUI committed 2013-05-02 20:51:02 +08:00
1 parent c84ca2968e
commit 3d27799601
3 files changed
+22 -4

No files matched your search

+5 -2
View File
@@ -99,7 +99,9 @@ void Config::Load(const char *iniFileName)
graphics->Get("LinearFiltering", &bLinearFiltering, false);
graphics->Get("SSAA", &SSAntiAliasing, 0);
graphics->Get("VBO", &bUseVBO, false);
graphics->Get("FrameSkip", &bFrameSkip, 0);
graphics->Get("FrameSkip", &bFrameSkip, false);
graphics->Get("XBRZTexScaling", &bXBRZTexScaling, false);
graphics->Get("XBRZTexScalingLevel", &iXBRZTexScalingLevel, 1);
graphics->Get("UseMediaEngine", &bUseMediaEngine, true);
#ifdef USING_GLES2
graphics->Get("AnisotropicFiltering", &bAnisotropicFiltering, true);
@@ -115,7 +117,6 @@ void Config::Load(const char *iniFileName)
#else
graphics->Get("MipMap", &bMipMap, false);
#endif
graphics->Get("XBRZTexScalingLevel", &iXBRZTexScalingLevel, 1);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Get("Enable", &bEnableSound, true);
@@ -190,6 +191,8 @@ void Config::Save()
graphics->Set("SSAA", SSAntiAliasing);
graphics->Set("VBO", bUseVBO);
graphics->Set("FrameSkip", bFrameSkip);
graphics->Set("XBRZTexScaling", bXBRZTexScaling);
graphics->Set("XBRZTexScalingLevel", iXBRZTexScalingLevel);
graphics->Set("UseMediaEngine", bUseMediaEngine);
graphics->Set("AnisotropicFiltering", bAnisotropicFiltering);
graphics->Set("VertexCache", bVertexCache);