MCPcopy Create free account
hub / github.com/defold/defold / GetDisplayScaleFactor

Function GetDisplayScaleFactor

engine/graphics/src/graphics.cpp:1849–1852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1847 return dmPlatform::GetWindowHeight(g_functions.m_GetWindow(context));
1848 }
1849 float GetDisplayScaleFactor(HContext context)
1850 {
1851 return dmPlatform::GetDisplayScaleFactor(g_functions.m_GetWindow(context));
1852 }
1853 void IconifyWindow(HContext context)
1854 {
1855 dmPlatform::IconifyWindow(g_functions.m_GetWindow(context));

Callers 3

TEST_FFunction · 0.50
UpdateRenderCameraFunction · 0.50
GetDisplayScaleFunction · 0.50

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.40