Add FramebuffersToMem option to allow disabling of reading framebuffer contents to memory (defaults to false).

This commit is contained in:
arnastia
2013-06-26 01:32:48 +01:00
parent 32efe2a9ad
commit 98b9acf0d3
3 changed files with 34 additions and 29 deletions
+2
View File
@@ -114,6 +114,7 @@ void Config::Load(const char *iniFileName)
#endif
graphics->Get("StretchToDisplay", &bStretchToDisplay, false);
graphics->Get("TrueColor", &bTrueColor, true);
graphics->Get("FramebuffersToMem", &bFramebuffersToMem, false);
graphics->Get("MipMap", &bMipMap, true);
graphics->Get("TexScalingLevel", &iTexScalingLevel, 1);
graphics->Get("TexScalingType", &iTexScalingType, 0);
@@ -216,6 +217,7 @@ void Config::Save()
#endif
graphics->Set("StretchToDisplay", bStretchToDisplay);
graphics->Set("TrueColor", bTrueColor);
graphics->Set("FramebuffersToMem", bFramebuffersToMem);
graphics->Set("MipMap", bMipMap);
graphics->Set("TexScalingLevel", iTexScalingLevel);
graphics->Set("TexScalingType", iTexScalingType);