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:
parent
4b8e8bed6e
commit
0cd4165658
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user