MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / WindowContentScaleCallback_GLFW

Function WindowContentScaleCallback_GLFW

src/app/DeviceManager.cpp:152–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152static void WindowContentScaleCallback_GLFW(GLFWwindow *window, float scaleX, float scaleY)
153{
154 DeviceManager *manager = reinterpret_cast<DeviceManager *>(glfwGetWindowUserPointer(window));
155 manager->WindowContentScaleCallback(scaleX, scaleY);
156}
157
158static void KeyCallback_GLFW(GLFWwindow *window, int key, int scancode, int action, int mods)
159{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected