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

Function ddgr_surf_Clear

dd_grwin32/ddgrWin32API.cpp:238–250  ·  view source on GitHub ↗

graphic primatives */

Source from the content-addressed store, hash-verified

236/* graphic primatives
237 */
238void ddgr_surf_Clear(ddgr_surface *dsf, ddgr_color col, int l, int t, int w, int h) {
239 switch (LIB_DATA(subsystem)) {
240 case DDGR_GDIX_SUBSYSTEM:
241 case DDGR_GDI_SUBSYSTEM:
242 ddgr_gdi_surf_Clear(dsf, col, l, t, w, h);
243 break;
244 case DDGR_DX_SUBSYSTEM:
245 ddgr_dx_surf_Clear(dsf, col, l, t, w, h);
246 break;
247 default:
248 Int3();
249 }
250}
251
252bool ddgr_surf_Blt(ddgr_surface *dsf, int dx, int dy, ddgr_surface *ssf, int sx, int sy, int sw, int sh) {
253 bool success;

Callers 1

clearMethod · 0.85

Calls 2

ddgr_gdi_surf_ClearFunction · 0.85
ddgr_dx_surf_ClearFunction · 0.85

Tested by

no test coverage detected