diff options
| author | degasus <wickmarkus@web.de> | 2013-01-14 20:00:33 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2013-01-14 20:00:33 +0100 |
| commit | 5fe3def64cb21908239f2e6644507ec5b2e9e632 (patch) | |
| tree | 5a91bfbb4535284a8c3a2c444c8970a33bd2584b /Source/Core/VideoCommon | |
| parent | 4c2dd093a3f52873046b02ce33b443bc1cf01367 (diff) | |
videoConfig cleanup
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VideoConfig.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/Src/VideoConfig.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoConfig.cpp b/Source/Core/VideoCommon/Src/VideoConfig.cpp index 128a05177c..0e43904ab0 100644 --- a/Source/Core/VideoCommon/Src/VideoConfig.cpp +++ b/Source/Core/VideoCommon/Src/VideoConfig.cpp @@ -43,7 +43,6 @@ 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) @@ -174,6 +173,7 @@ void VideoConfig::VerifyValidity() if (!backend_info.bSupports3DVision) b3DVision = false; if (!backend_info.bSupportsFormatReinterpretation) bEFBEmulateFormatChanges = false; if (!backend_info.bSupportsPixelLighting) bEnablePixelLighting = false; + if (backend_info.APIType != API_OPENGL) backend_info.bSupportsGLSLUBO = false; } void VideoConfig::Save(const char *ini_file) diff --git a/Source/Core/VideoCommon/Src/VideoConfig.h b/Source/Core/VideoCommon/Src/VideoConfig.h index 15f148b613..7b141d442a 100644 --- a/Source/Core/VideoCommon/Src/VideoConfig.h +++ b/Source/Core/VideoCommon/Src/VideoConfig.h @@ -163,8 +163,6 @@ struct VideoConfig bool bSupportsFormatReinterpretation; bool bSupportsPixelLighting; - bool bSupportsGLSL; - bool bSupportsGLSLBlend; bool bSupportsGLSLUBO; bool bSupportsGLSLCache; } backend_info; |
