mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
Fixed handling of invalid alpharef on old Intel drivers
See issue #295.
This commit is contained in:
parent
8485017afc
commit
53b0265138
@ -386,6 +386,11 @@ namespace D3dDdi
|
||||
return value & (D3DWRAPCOORD_0 | D3DWRAPCOORD_1 | D3DWRAPCOORD_2 | D3DWRAPCOORD_3);
|
||||
}
|
||||
|
||||
if (D3DDDIRS_ALPHAREF == state)
|
||||
{
|
||||
return value & 0xFF;
|
||||
}
|
||||
|
||||
if (D3DDDIRS_COLORKEYENABLE == state)
|
||||
{
|
||||
if (Config::Settings::ColorKeyMethod::NATIVE != m_device.getColorKeyMethod().first)
|
||||
|
Loading…
x
Reference in New Issue
Block a user