Added a Bypass XFB option to Videosoftware's configuration.
This is useful for testing XFB vs no XFB in videosoftware, for compatablity or visual comparasions.
This commit is contained in:
1 parent
a94940edd3
commit
01da9c4b71
9 files changed
+57
-6
No files matched your search
@@ -15,6 +15,7 @@ SWVideoConfig::SWVideoConfig()
|
||||
renderToMainframe = false;
|
||||
|
||||
bHwRasterizer = false;
|
||||
bBypassXFB = false;
|
||||
|
||||
bShowStats = false;
|
||||
|
||||
@@ -41,6 +42,7 @@ void SWVideoConfig::Load(const char* ini_file)
|
||||
iniFile.Get("Hardware", "RenderToMainframe", &renderToMainframe, false);
|
||||
|
||||
iniFile.Get("Rendering", "HwRasterizer", &bHwRasterizer, false);
|
||||
iniFile.Get("Rendering", "BypassXFB", &bBypassXFB, false);
|
||||
iniFile.Get("Rendering", "ZComploc", &bZComploc, true);
|
||||
iniFile.Get("Rendering", "ZFreeze", &bZFreeze, true);
|
||||
|
||||
@@ -65,6 +67,7 @@ void SWVideoConfig::Save(const char* ini_file)
|
||||
iniFile.Set("Hardware", "RenderToMainframe", renderToMainframe);
|
||||
|
||||
iniFile.Set("Rendering", "HwRasterizer", bHwRasterizer);
|
||||
iniFile.Set("Rendering", "BypassXFB", bBypassXFB);
|
||||
iniFile.Set("Rendering", "ZComploc", &bZComploc);
|
||||
iniFile.Set("Rendering", "ZFreeze", &bZFreeze);
|
||||
|
||||
|
||||
Reference in new issue
Block a user