Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenImageDebugger/OpenImageDebugger
/ initial_content_scale
Function
initial_content_scale
src/platform/display_env.cpp:66–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
64
}
65
66
float initial_content_scale(GLFWwindow* window) {
67
float xscale = 1.0f;
68
float yscale = 1.0f;
69
glfwGetWindowContentScale(window, &xscale, &yscale);
70
return xscale;
71
}
72
73
} // namespace oid::platform
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected