MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / window_size_callback

Method window_size_callback

src/main.cpp:123–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected