1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[dxgi] Remove MonitorEnumProc and MonitorEnumInfo

Not used anymore, replaced by WSI abstraction.
This commit is contained in:
Joshua Ashton 2022-08-21 00:01:28 +00:00 committed by Philip Rebohle
parent 915ec4acc2
commit e51c196ee9
2 changed files with 1 additions and 27 deletions

View File

@ -474,19 +474,4 @@ namespace dxvk {
}
}
BOOL CALLBACK DxgiAdapter::MonitorEnumProc(
HMONITOR hmon,
HDC hdc,
LPRECT rect,
LPARAM lp) {
auto data = reinterpret_cast<MonitorEnumInfo*>(lp);
if (data->iMonitorId--)
return TRUE; /* continue */
data->oMonitor = hmon;
return FALSE; /* stop */
}
}

View File

@ -123,18 +123,7 @@ namespace dxvk {
dxvk::thread m_eventThread;
void runEventThread();
struct MonitorEnumInfo {
UINT iMonitorId;
HMONITOR oMonitor;
};
static BOOL CALLBACK MonitorEnumProc(
HMONITOR hmon,
HDC hdc,
LPRECT rect,
LPARAM lp);
};
}