| 111 | } |
| 112 | |
| 113 | Vector2i GetScreenResolution() |
| 114 | { |
| 115 | RECT desktop; |
| 116 | const HWND hDesktop = GetDesktopWindow(); |
| 117 | GetWindowRect(hDesktop, &desktop); |
| 118 | Vector2i resolution; |
| 119 | resolution.x = desktop.right; |
| 120 | resolution.y = desktop.bottom; |
| 121 | return resolution; |
| 122 | } |
| 123 | |
| 124 | int GetCurrentScreenRefreshRate() |
| 125 | { |
no outgoing calls
no test coverage detected