[CHG] Formating the code

This commit is contained in:
Crayon2000 2009-02-25 05:29:47 +00:00
parent 8cc6db8605
commit 0862cb893b
2 changed files with 7 additions and 9 deletions

View file

@ -260,8 +260,7 @@ void GRRLIB_PrintBMF(f32 xpos, f32 ypos, GRRLIB_bytemapFont bmf, f32 zoom, const
size = vsprintf(tmp, text, argp);
va_end(argp);
GRRLIB_texImg tex_BMfont = GRRLIB_CreateEmptyTexture(800, 600);
GRRLIB_texImg tex_BMfont = GRRLIB_CreateEmptyTexture(640, 480);
for(i=0; i<size; i++) {
for(j=0; j<bmf.nbChar; j++) {
@ -865,8 +864,7 @@ void GRRLIB_Init() {
GX_Init(gp_fifo, DEFAULT_FIFO_SIZE);
// clears the bg to color and clears the z buffer
GXColor background = { 0, 0, 0, 0xff };
GX_SetCopyClear (background, GX_MAX_Z24);
GX_SetCopyClear((GXColor){ 0, 0, 0, 0xff }, GX_MAX_Z24);
// other gx setup
yscale = GX_GetYScaleFactor(rmode->efbHeight, rmode->xfbHeight);