small correction, we cannot use dual source blending if separate alpha function is not supported

This commit is contained in:
Rodolfo Bogado 2013-08-13 17:31:50 -03:00
parent 85f91d66ba
commit 0ec92f986b
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void InitBackendInfo()
// dual source blending is only supported in windows 7 o newer. sorry xp users // 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 // we cannot test for device caps because most drivers just declare the minimun caps
// and don't expose their support for some functionalities // 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 else
{ {