diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2011-12-02 20:17:26 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2011-12-02 20:17:26 -0600 |
| commit | 804938e9fc4afefac1e04b2eeae4c158b7b34d00 (patch) | |
| tree | c20cad1f39a85a05620266252504870daaeb81b4 /Source/Core/VideoCommon/Src/VideoConfig.cpp | |
| parent | ae6ac5b4399a5032cf185b7f695896859799af99 (diff) | |
More stuff
Diffstat (limited to 'Source/Core/VideoCommon/Src/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VideoConfig.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoConfig.cpp b/Source/Core/VideoCommon/Src/VideoConfig.cpp index 57685dec09..69c1c4ce1c 100644 --- a/Source/Core/VideoCommon/Src/VideoConfig.cpp +++ b/Source/Core/VideoCommon/Src/VideoConfig.cpp @@ -43,6 +43,7 @@ VideoConfig::VideoConfig() backend_info.APIType = API_NONE; backend_info.bUseRGBATextures = false; backend_info.bSupports3DVision = false; + backend_info.bSupportsGLSL = false; } void VideoConfig::Load(const char *ini_file) @@ -92,6 +93,7 @@ void VideoConfig::Load(const char *ini_file) iniFile.Get("Settings", "DisableLighting", &bDisableLighting, 0); iniFile.Get("Settings", "DisableTexturing", &bDisableTexturing, 0); iniFile.Get("Settings", "DisableFog", &bDisableFog, 0); + iniFile.Get("Settings", "UseGLSL", &bUseGLSL, 0); iniFile.Get("Settings", "EnableOpenCL", &bEnableOpenCL, false); iniFile.Get("Settings", "OMPDecoder", &bOMPDecoder, false); @@ -232,7 +234,7 @@ void VideoConfig::Save(const char *ini_file) iniFile.Set("Settings", "DisableTexturing", bDisableTexturing); iniFile.Set("Settings", "DstAlphaPass", bDstAlphaPass); iniFile.Set("Settings", "DisableFog", bDisableFog); - iniFile.Set("Settings", "bUseGLSL", bUseGLSL); + iniFile.Set("Settings", "UseGLSL", bUseGLSL); iniFile.Set("Settings", "EnableOpenCL", bEnableOpenCL); iniFile.Set("Settings", "OMPDecoder", bOMPDecoder); |
