More spline/bezier optimization. Enable real splines. Add option "Low quality spline/bezier curves".

This commit is contained in:
Henrik Rydgard committed 2013-09-24 11:14:49 +02:00
1 parent 216ccbb94b
commit 2b66a850be
6 files changed
+88 -43

No files matched your search

+2
View File
@@ -177,6 +177,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename)
graphics->Get("VSyncInterval", &bVSync, false);
graphics->Get("DisableStencilTest", &bDisableStencilTest, false);
graphics->Get("AlwaysDepthWrite", &bAlwaysDepthWrite, false);
graphics->Get("LowQualitySplineBezier", &bLowQualitySplineBezier, false);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Get("Enable", &bEnableSound, true);
@@ -336,6 +337,7 @@ void Config::Save() {
graphics->Set("VSyncInterval", bVSync);
graphics->Set("DisableStencilTest", bDisableStencilTest);
graphics->Set("AlwaysDepthWrite", bAlwaysDepthWrite);
graphics->Set("LowQualitySplineBezier", bLowQualitySplineBezier);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Set("Enable", bEnableSound);