MCPcopy Create free account
hub / github.com/cdcseacave/openMVS / FramebufferSizeCallback

Method FramebufferSizeCallback

apps/Viewer/Window.cpp:519–522  ·  view source on GitHub ↗

Static GLFW Callbacks

Source from the content-addressed store, hash-verified

517
518// Static GLFW Callbacks
519void Window::FramebufferSizeCallback(GLFWwindow* window, int width, int height) {
520 // Update device pixel ratio for accurate mouse coordinate conversion
521 GetScene(window).GetWindow().UpdateDevicePixelRatio();
522}
523
524void Window::MouseCallback(GLFWwindow* window, double xpos, double ypos) {
525 GetScene(window).GetWindow().HandleMouseMove(xpos, ypos);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected