diff options
| author | Ryan Houdek <Sonicadvance1@Gmail.com> | 2013-03-18 07:49:46 +0000 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@Gmail.com> | 2013-03-18 07:50:52 +0000 |
| commit | 12f5f102c7a1faab89676eda9bf04ed9ffe5bc27 (patch) | |
| tree | 8d0825b12598e67d1152837ff523a7a189f0f7b1 /Source/Plugins/Plugin_VideoSoftware | |
| parent | b512b234073c623cb90f74dea218a157895567f7 (diff) | |
Set GLES Tex2D function to texture2D, texture is only available in GLES3. Fix some tabs in the config file.
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware')
| -rw-r--r-- | Source/Plugins/Plugin_VideoSoftware/Src/SWVideoConfig.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWVideoConfig.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/SWVideoConfig.cpp index 07947e0ee7..a6705a5236 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/SWVideoConfig.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWVideoConfig.cpp @@ -23,36 +23,36 @@ SWVideoConfig g_SWVideoConfig; SWVideoConfig::SWVideoConfig() { - bFullscreen = false; - bHideCursor = false; - renderToMainframe = false; + bFullscreen = false; + bHideCursor = false; + renderToMainframe = false; bHwRasterizer = false; - bShowStats = false; + bShowStats = false; - bDumpTextures = false; - bDumpObjects = false; - bDumpFrames = false; + bDumpTextures = false; + bDumpObjects = false; + bDumpFrames = false; bZComploc = true; bZFreeze = true; - bDumpTevStages = false; + bDumpTevStages = false; bDumpTevTextureFetches = false; - drawStart = 0; - drawEnd = 100000; + drawStart = 0; + drawEnd = 100000; } void SWVideoConfig::Load(const char* ini_file) { - std::string temp; - IniFile iniFile; - iniFile.Load(ini_file); - - iniFile.Get("Hardware", "Fullscreen", &bFullscreen, 0); // Hardware - iniFile.Get("Hardware", "RenderToMainframe", &renderToMainframe, false); + std::string temp; + IniFile iniFile; + iniFile.Load(ini_file); + + iniFile.Get("Hardware", "Fullscreen", &bFullscreen, 0); // Hardware + iniFile.Get("Hardware", "RenderToMainframe", &renderToMainframe, false); iniFile.Get("Rendering", "HwRasterizer", &bHwRasterizer, false); iniFile.Get("Rendering", "ZComploc", &bZComploc, true); @@ -72,11 +72,11 @@ void SWVideoConfig::Load(const char* ini_file) void SWVideoConfig::Save(const char* ini_file) { - IniFile iniFile; - iniFile.Load(ini_file); + IniFile iniFile; + iniFile.Load(ini_file); - iniFile.Set("Hardware", "Fullscreen", bFullscreen); - iniFile.Set("Hardware", "RenderToMainframe", renderToMainframe); + iniFile.Set("Hardware", "Fullscreen", bFullscreen); + iniFile.Set("Hardware", "RenderToMainframe", renderToMainframe); iniFile.Set("Rendering", "HwRasterizer", bHwRasterizer); iniFile.Set("Rendering", "ZComploc", &bZComploc); @@ -92,7 +92,7 @@ void SWVideoConfig::Save(const char* ini_file) iniFile.Set("Misc", "DrawStart", drawStart); iniFile.Set("Misc", "DrawEnd", drawEnd); - - iniFile.Save(ini_file); + + iniFile.Save(ini_file); } |
