MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / loadScreenSize

Function loadScreenSize

TheForceEngine/TFE_A11y/accessibility.cpp:717–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715 }
716
717 void loadScreenSize()
718 {
719 TFE_RenderBackend::getDisplayInfo(&s_display);
720 s_screenWidth = s_display.width;
721 s_screenHeight = s_display.height;
722 }
723
724 ImVec2 calcWindowSize(f32* fontScale, CaptionEnv env)
725 {

Callers 2

onSoundPlayFunction · 0.85
drawCaptionsFunction · 0.85

Calls 1

getDisplayInfoFunction · 0.85

Tested by

no test coverage detected