diff options
| author | Rodolfo Bogado <rodolfoosvaldobogado@gmail.com> | 2013-08-13 17:31:50 -0300 |
|---|---|---|
| committer | Rodolfo Bogado <rodolfoosvaldobogado@gmail.com> | 2013-08-13 17:31:50 -0300 |
| commit | 0ec92f986b74ebe2fb1eaa95e47c4dbfaf470338 (patch) | |
| tree | a10fe221b549d47afb104533beae92256ec913c1 | |
| parent | 85f91d66ba43d429410840725b86ff0f690c7fbf (diff) | |
small correction, we cannot use dual source blending if separate alpha function is not supported
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX9/Src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/main.cpp b/Source/Plugins/Plugin_VideoDX9/Src/main.cpp index 9170713e51..ab5e85d64d 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/main.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/main.cpp @@ -102,7 +102,7 @@ void InitBackendInfo() // dual source blending is only supported in windows 7 o newer. sorry xp users // we cannot test for device caps because most drivers just declare the minimun caps // and don't expose their support for some functionalities - g_Config.backend_info.bSupportsDualSourceBlend = info.dwPlatformId == VER_PLATFORM_WIN32_NT && ((info.dwMajorVersion > 6) || ((info.dwMajorVersion == 6) && info.dwMinorVersion >= 1)); + g_Config.backend_info.bSupportsDualSourceBlend = g_Config.backend_info.bSupportsSeparateAlphaFunction && (info.dwPlatformId == VER_PLATFORM_WIN32_NT) && ((info.dwMajorVersion > 6) || ((info.dwMajorVersion == 6) && info.dwMinorVersion >= 1)); } else { |
