mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Correct check for lighting support legovideomanager.cpp
This commit is contained in:
parent
735e3c6763
commit
4172217a32
@ -134,8 +134,11 @@ MxResult LegoVideoManager::Create(MxVideoParam& p_videoParam, MxU32 p_frequencyM
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_direct3d->SetDevice(deviceEnumerate, driver, device);
|
m_direct3d->SetDevice(deviceEnumerate, driver, device);
|
||||||
|
/*
|
||||||
if (!driver->m_ddCaps.dwCaps2 && driver->m_ddCaps.dwSVBRops[7] != 2) {
|
* BUG: should be:
|
||||||
|
* if ((driver->m_ddCaps.dwCaps2 & DDCAPS2_CERTIFIED) == 0 && driver->m_ddCaps.dwSVBRops[7] != 2) {
|
||||||
|
*/
|
||||||
|
if (driver->m_ddCaps.dwCaps2 != DDCAPS2_CERTIFIED && driver->m_ddCaps.dwSVBRops[7] != 2) {
|
||||||
p_videoParam.Flags().SetF2bit0(TRUE);
|
p_videoParam.Flags().SetF2bit0(TRUE);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user