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:
parent
915ec4acc2
commit
e51c196ee9
@ -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…
x
Reference in New Issue
Block a user