small correction, we cannot use dual source blending if separate alpha function is not supported
This commit is contained in:
parent
85f91d66ba
commit
0ec92f986b
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue