| 266 | |
| 267 | |
| 268 | void Config::GlobalData::GetScreenSize(int& screenW, int& screenH) |
| 269 | { |
| 270 | GLFWmonitor* monitor = glfwGetPrimaryMonitor(); |
| 271 | const GLFWvidmode* mode = monitor ? glfwGetVideoMode(monitor) : nullptr; |
| 272 | screenW = mode ? mode->width : 1920; |
| 273 | screenH = mode ? mode->height : 1080; |
| 274 | } |
| 275 | |
| 276 | |
| 277 | void Config::GlobalData::Load(tExpression expr) |
nothing calls this directly
no outgoing calls
no test coverage detected