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

Function setVideoMode

source/core/gamecontrol.cpp:1250–1256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1248void LoadVoxelModels(void);
1249
1250void setVideoMode()
1251{
1252 int xdim = screen->GetWidth();
1253 int ydim = screen->GetHeight();
1254 V_UpdateModeSize(xdim, ydim);
1255 viewport3d = { 0, 0, xdim, ydim };
1256}
1257
1258//==========================================================================
1259//

Callers 2

handleeventsFunction · 0.85
RunGameFunction · 0.85

Calls 3

V_UpdateModeSizeFunction · 0.85
GetWidthMethod · 0.45
GetHeightMethod · 0.45

Tested by

no test coverage detected