MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / AspectReapply

Function AspectReapply

engine/Poseidon/Dev/Debug/DebugOverlay.cpp:1129–1139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1127 });
1128}
1129
1130void AspectReapply()
1131{
1132 // Re-resolve + apply the aspect settings for the current viewport.
1133 // Deferred so the engine mutation runs after ImGui::Render returns.
1134 Defer(
1135 []
1136 {
1137 if (GEngine)
1138 GEngine->FireResizePostHook(GEngine->Width(), GEngine->Height());
1139 });
1140}
1141
1142// Release the game's mouse grab while the panel is open so the cursor can

Callers 1

DrawAspectTabFunction · 0.85

Calls 4

DeferFunction · 0.85
FireResizePostHookMethod · 0.80
WidthMethod · 0.45
HeightMethod · 0.45

Tested by

no test coverage detected