mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxgi] Remove MonitorEnumProc and MonitorEnumInfo
Not used anymore, replaced by WSI abstraction.
This commit is contained in:
parent
915ec4acc2
commit
e51c196ee9
2 changed files with 1 additions and 27 deletions
|
@ -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 */
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue