From e1a732adb01ed8d30c73b5d2ad40013c80b3d74c Mon Sep 17 00:00:00 2001 From: farisawan-2000 Date: Sat, 12 Dec 2020 22:03:04 -0500 Subject: [PATCH] removed fillrect func for now --- s2d_draw.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/s2d_draw.c b/s2d_draw.c index 77ed35ea..09a3d4ac 100644 --- a/s2d_draw.c +++ b/s2d_draw.c @@ -36,16 +36,6 @@ void setup_font(int idx) { gSPObjLoadTxtr(gdl_head++, &s2d_tex[idx]); } -void draw_rect(int ulx, int uly, int drx, int dry, u32 color) { - gDPPipeSync(gdl_head++); - gDPSetRenderMode(gdl_head++, G_RM_NOOP, G_RM_NOOP2); - gDPSetCycleType(gdl_head++,G_CYC_FILL); - gDPSetFillColor(gdl_head++, color); - gDPFillRectangle(gdl_head++, ulx, uly, drx, dry); - gDPPipeSync(gdl_head++); - gDPSetCycleType(gdl_head++, G_CYC_1CYCLE); -} - // Original Mtx Pipeline // Distorts when rotating, but is faster void mtx_pipeline(uObjMtx *m, int x, int y) {