mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
small correction, we cannot use dual source blending if separate alpha function is not supported
This commit is contained in:
@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user