MCPcopy Create free account
hub / github.com/cginternals/globjects / framebuffer_size_callback

Function framebuffer_size_callback

source/examples/tessellation/main.cpp:112–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void framebuffer_size_callback(GLFWwindow * /*window*/, int width, int height)
113{
114 g_size = glm::ivec2{ width, height };
115 resize();
116}
117
118void key_callback(GLFWwindow * window, int key, int /*scancode*/, int action, int /*modes*/)
119{

Callers

nothing calls this directly

Calls 1

resizeFunction · 0.85

Tested by

no test coverage detected