MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / clear

Method clear

2dlib/surface.cpp:282–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280// ---------------------------------------------------------------------------
281
282void grSurface::clear(ddgr_color col) { grSurface::clear(0, 0, ddsfObj.w, ddsfObj.h, col); }
283
284void grSurface::clear(int l, int t, int w, int h, ddgr_color col) {
285 ASSERT(m_SurfInit);

Callers 15

OnPaintMethod · 0.45
UpdateRobotViewMethod · 0.45
UpdateTextureViewsMethod · 0.45
DrawSwatchMethod · 0.45
DrawDoorwayDoorPicMethod · 0.45
UpdateTextureViewMethod · 0.45
UpdateViewMethod · 0.45
UpdateWeaponViewMethod · 0.45
UpdateDoorViewMethod · 0.45
WireframeFindRoomFaceFunction · 0.45
SelectRoomsInBoxFunction · 0.45
DrawWorldFunction · 0.45

Calls 3

ddgr_surf_ClearFunction · 0.85
gr_mem_surf_ClearFunction · 0.85
rend_FillRectFunction · 0.50

Tested by

no test coverage detected