mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 10:24:10 +01:00
[d3d9] Add equality operator overloads for POINT
This commit is contained in:
parent
261a242486
commit
17166a8aeb
@ -234,6 +234,14 @@ namespace dxvk {
|
||||
return !(a == b);
|
||||
}
|
||||
|
||||
inline bool operator == (const POINT& a, const POINT& b) {
|
||||
return a.x == b.x && a.y == b.y;
|
||||
}
|
||||
|
||||
inline bool operator != (const POINT& a, const POINT& b) {
|
||||
return !(a == b);
|
||||
}
|
||||
|
||||
inline bool IsPoolManaged(D3DPOOL Pool) {
|
||||
return Pool == D3DPOOL_MANAGED || Pool == D3DPOOL_MANAGED_EX;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user