mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 02:31:15 +00:00
WIP
This commit is contained in:
parent
7e6435f795
commit
043c30e4d5
@ -135,10 +135,9 @@ BOOL MxDirect3D::SetDevice(MxDeviceEnumerate& p_deviceEnumerator, MxDriver* p_dr
|
||||
}
|
||||
|
||||
MxDeviceModeFinder* deviceModeFinder = new MxDeviceModeFinder;
|
||||
list<MxDriver>& deviceList = p_deviceEnumerator.GetDeviceList();
|
||||
MxS32 i = 0;
|
||||
|
||||
for (list<MxDriver>::iterator it = deviceList.begin(); it != deviceList.end(); it++) {
|
||||
for (list<MxDriver>::iterator it = p_deviceEnumerator.m_list.begin(); it != p_deviceEnumerator.m_list.end(); it++) {
|
||||
MxDriver& driver = *it;
|
||||
|
||||
if (&driver == p_driver) {
|
||||
|
||||
@ -209,7 +209,7 @@ class MxDeviceEnumerate {
|
||||
static undefined4 FUN_1009d1a0();
|
||||
static undefined4 FUN_1009d1e0();
|
||||
|
||||
inline list<MxDriver>& GetDeviceList() { return m_list; }
|
||||
friend class MxDirect3D;
|
||||
|
||||
private:
|
||||
list<MxDriver> m_list; // 0x04
|
||||
|
||||
Loading…
Reference in New Issue
Block a user