From 0ec92f986b74ebe2fb1eaa95e47c4dbfaf470338 Mon Sep 17 00:00:00 2001 From: Rodolfo Bogado Date: Tue, 13 Aug 2013 17:31:50 -0300 Subject: [PATCH] small correction, we cannot use dual source blending if separate alpha function is not supported --- Source/Plugins/Plugin_VideoDX9/Src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {