mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-08-03 15:47:34 -04:00
Fix CONFIG app after isle/master merge
This commit is contained in:
parent
4f3ce064e8
commit
3543f5f494
@ -98,7 +98,7 @@ bool CMainDialog::OnInitDialog()
|
||||
int device_i = 0;
|
||||
int selected = 0;
|
||||
char device_name[256];
|
||||
const list<MxDriver>& driver_list = enumerator->GetDriverList();
|
||||
const list<MxDriver>& driver_list = enumerator->m_ddInfo;
|
||||
for (list<MxDriver>::const_iterator it_driver = driver_list.begin(); it_driver != driver_list.end(); it_driver++) {
|
||||
const MxDriver& driver = *it_driver;
|
||||
for (list<Direct3DDeviceInfo>::const_iterator it_device = driver.m_devices.begin();
|
||||
|
@ -126,7 +126,7 @@ D3DCOLORMODEL CConfigApp::GetHardwareDeviceColorModel() const
|
||||
// FUNCTION: CONFIG 0x00403410
|
||||
bool CConfigApp::IsPrimaryDriver() const
|
||||
{
|
||||
return m_driver == &m_device_enumerator->GetDriverList().front();
|
||||
return m_driver == &m_device_enumerator->m_ddInfo.front();
|
||||
}
|
||||
|
||||
// FUNCTION: CONFIG 0x00403430
|
||||
|
Loading…
x
Reference in New Issue
Block a user