From 0e2e71e48345c2010d8a83cde9d6669c3c28a572 Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Sun, 22 Sep 2013 17:49:26 +0200 Subject: [PATCH] Remove some now unused VideoConfig settings. --- Source/Core/VideoCommon/Src/VideoConfig.cpp | 2 -- Source/Core/VideoCommon/Src/VideoConfig.h | 8 +++----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Source/Core/VideoCommon/Src/VideoConfig.cpp b/Source/Core/VideoCommon/Src/VideoConfig.cpp index 22c75131eb..93840d7586 100644 --- a/Source/Core/VideoCommon/Src/VideoConfig.cpp +++ b/Source/Core/VideoCommon/Src/VideoConfig.cpp @@ -98,7 +98,6 @@ void VideoConfig::Load(const char *ini_file) iniFile.Get("Hacks", "EFBScaledCopy", &bCopyEFBScaled, true); iniFile.Get("Hacks", "EFBCopyCacheEnable", &bEFBCopyCacheEnable, false); iniFile.Get("Hacks", "EFBEmulateFormatChanges", &bEFBEmulateFormatChanges, false); - iniFile.Get("Hacks", "ForceDualSourceBlend", &bForceDualSourceBlend, false); iniFile.Get("Hardware", "Adapter", &iAdapter, 0); @@ -283,7 +282,6 @@ void VideoConfig::Save(const char *ini_file) iniFile.Set("Hacks", "EFBScaledCopy", bCopyEFBScaled); iniFile.Set("Hacks", "EFBCopyCacheEnable", bEFBCopyCacheEnable); iniFile.Set("Hacks", "EFBEmulateFormatChanges", bEFBEmulateFormatChanges); - iniFile.Set("Hacks", "ForceDualSourceBlend", bForceDualSourceBlend); iniFile.Set("Hardware", "Adapter", iAdapter); diff --git a/Source/Core/VideoCommon/Src/VideoConfig.h b/Source/Core/VideoCommon/Src/VideoConfig.h index 489b75de0d..890b9b9eda 100644 --- a/Source/Core/VideoCommon/Src/VideoConfig.h +++ b/Source/Core/VideoCommon/Src/VideoConfig.h @@ -123,8 +123,6 @@ struct VideoConfig bool bEnablePixelLighting; bool bHackedBufferUpload; bool bFastDepthCalc; - //for dx9-backend - bool bForceDualSourceBlend; int iLog; // CONF_ bits int iSaveTargetId; // TODO: Should be dropped @@ -143,14 +141,14 @@ struct VideoConfig { API_TYPE APIType; - std::vector Adapters; // for D3D9 and D3D11 + std::vector Adapters; // for D3D std::vector AAModes; std::vector PPShaders; // post-processing shaders - bool bUseRGBATextures; // used for D3D11 in TextureCache + bool bUseRGBATextures; // used for D3D in TextureCache bool bUseMinimalMipCount; bool bSupports3DVision; - bool bSupportsDualSourceBlend; // only supported by D3D11 and OpenGL + bool bSupportsDualSourceBlend; bool bSupportsFormatReinterpretation; bool bSupportsPixelLighting; bool bSupportsPrimitiveRestart;