1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[d3d9] Add D3DDISPLAYMODEEX operator

This commit is contained in:
Joshua Ashton 2024-01-19 16:27:38 +00:00
parent 4b8e8bed6e
commit 0cd4165658

View File

@ -297,3 +297,13 @@ inline bool operator == (const POINT& a, const POINT& b) {
inline bool operator != (const POINT& a, const POINT& b) {
return !(a == b);
}
inline bool operator == (const D3DDISPLAYMODEEX& a, const D3DDISPLAYMODEEX& b) {
return a.Size == b.Size &&
a.Width == b.Width &&
a.Height == b.Height &&
a.RefreshRate == b.RefreshRate &&
a.Format == b.Format &&
a.ScanLineOrdering == b.ScanLineOrdering;
}