| 52 | int WindowController::windowedHeight = 720; |
| 53 | |
| 54 | GLFWmonitor* WindowController::monitorByIndex(int index) { |
| 55 | int monitorCount = 0; |
| 56 | GLFWmonitor** monitors = glfwGetMonitors(&monitorCount); |
| 57 | if (!monitors || index < 0 || index >= monitorCount) { |
| 58 | return nullptr; |
| 59 | } |
| 60 | return monitors[index]; |
| 61 | } |
| 62 | |
| 63 | int WindowController::monitorIndex(GLFWmonitor* monitor) { |
| 64 | int monitorCount = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected