| 121 | } |
| 122 | |
| 123 | static void window_size_callback(GLFWwindow *window, int width, int height) { |
| 124 | Config::get().resX = width; |
| 125 | Config::get().resY = height; |
| 126 | } |
| 127 | |
| 128 | bool InitOpenGL(int resolutionX, int resolutionY, const std::string &windowName) { |
| 129 | // Initialise GLFW |
nothing calls this directly
no outgoing calls
no test coverage detected