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

Function IsPortrait

engine/render/src/render/display_profiles.cpp:130–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 static int IsPortrait(uint32_t width, uint32_t height)
131 {
132 return width > height ? 0 : 1;
133 }
134
135 bool DeviceModelMatch(DisplayProfiles::Qualifier *qualifier, dmSys::SystemInfo *sys_info)
136 {

Callers 1

GetOptimalDisplayProfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected