mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 07:43:36 +01:00
Add FXAA antialiasing on non-mobile. Works best when render resolution = window size.
This commit is contained in:
1 parent
49a72a4bfa
commit
b10e2bce3c
8 files changed
+120
-16
No files matched your search
@@ -178,6 +178,11 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename)
|
||||
graphics->Get("DisableStencilTest", &bDisableStencilTest, false);
|
||||
graphics->Get("AlwaysDepthWrite", &bAlwaysDepthWrite, false);
|
||||
graphics->Get("LowQualitySplineBezier", &bLowQualitySplineBezier, false);
|
||||
#ifdef USING_GLES2
|
||||
bFXAA = false;
|
||||
#else
|
||||
graphics->Get("FXAA", &bFXAA, false);
|
||||
#endif
|
||||
|
||||
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
|
||||
sound->Get("Enable", &bEnableSound, true);
|
||||
@@ -338,6 +343,7 @@ void Config::Save() {
|
||||
graphics->Set("DisableStencilTest", bDisableStencilTest);
|
||||
graphics->Set("AlwaysDepthWrite", bAlwaysDepthWrite);
|
||||
graphics->Set("LowQualitySplineBezier", bLowQualitySplineBezier);
|
||||
graphics->Set("FXAA", bFXAA);
|
||||
|
||||
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
|
||||
sound->Set("Enable", bEnableSound);
|
||||
|
||||
Reference in new issue
Block a user