mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 23:12:21 +00:00
[CHG] Formating the code
This commit is contained in:
parent
8cc6db8605
commit
0862cb893b
2 changed files with 7 additions and 9 deletions
|
@ -260,8 +260,7 @@ void GRRLIB_PrintBMF(f32 xpos, f32 ypos, GRRLIB_bytemapFont bmf, f32 zoom, const
|
||||||
size = vsprintf(tmp, text, argp);
|
size = vsprintf(tmp, text, argp);
|
||||||
va_end(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(i=0; i<size; i++) {
|
||||||
for(j=0; j<bmf.nbChar; j++) {
|
for(j=0; j<bmf.nbChar; j++) {
|
||||||
|
@ -865,8 +864,7 @@ void GRRLIB_Init() {
|
||||||
GX_Init(gp_fifo, DEFAULT_FIFO_SIZE);
|
GX_Init(gp_fifo, DEFAULT_FIFO_SIZE);
|
||||||
|
|
||||||
// clears the bg to color and clears the z buffer
|
// clears the bg to color and clears the z buffer
|
||||||
GXColor background = { 0, 0, 0, 0xff };
|
GX_SetCopyClear((GXColor){ 0, 0, 0, 0xff }, GX_MAX_Z24);
|
||||||
GX_SetCopyClear (background, GX_MAX_Z24);
|
|
||||||
|
|
||||||
// other gx setup
|
// other gx setup
|
||||||
yscale = GX_GetYScaleFactor(rmode->efbHeight, rmode->xfbHeight);
|
yscale = GX_GetYScaleFactor(rmode->efbHeight, rmode->xfbHeight);
|
||||||
|
|
Loading…
Reference in a new issue