MCPcopy Create free account
hub / github.com/ZDoom/Raze / V_OutputResized

Function V_OutputResized

source/common/rendering/v_video.cpp:316–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316void V_OutputResized (int width, int height)
317{
318 V_UpdateModeSize(width, height);
319 // set new resolution in 2D drawer
320 twod->Begin(screen->GetWidth(), screen->GetHeight());
321 twod->End();
322 setsizeneeded = true;
323 C_NewModeAdjust();
324 if (sysCallbacks.OnScreenSizeChanged)
325 sysCallbacks.OnScreenSizeChanged();
326}
327
328bool IVideo::SetResolution ()
329{

Callers 4

handleeventsFunction · 0.85
CCMDFunction · 0.85
UpdateMethod · 0.85
CCMDFunction · 0.85

Calls 6

V_UpdateModeSizeFunction · 0.85
C_NewModeAdjustFunction · 0.85
BeginMethod · 0.45
GetWidthMethod · 0.45
GetHeightMethod · 0.45
EndMethod · 0.45

Tested by

no test coverage detected