From 3aa0b23d8f6c039b9493e7e5d054692bb49d95c6 Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Fri, 6 Nov 2009 23:43:55 +0000 Subject: [PATCH] [CHG] GRRLIB_FillScreen is now using GX_SetCopyClear instead of calling GRRLIB_Rectangle --- GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h b/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h index 126cdd7..cf1e2e7 100644 --- a/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h +++ b/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h @@ -31,9 +31,8 @@ THE SOFTWARE. */ INLINE void GRRLIB_FillScreen (const u32 color) { - GRRLIB_Rectangle(-40, -40, - rmode->fbWidth +80, rmode->xfbHeight +80, - color, 1); + GX_SetCopyClear((GXColor){ R(color), G(color), B(color), 0xFF }, + GX_MAX_Z24); } /**