mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-12-23 02:39:19 +00:00
[CHG] Code formatting, not that much ;)
This commit is contained in:
parent
adb741ccf6
commit
a1d7b870cd
2 changed files with 5 additions and 3 deletions
|
@ -74,7 +74,7 @@ void GRRLIB_Init (void) {
|
|||
VIDEO_WaitVSync();
|
||||
if (rmode->viTVMode & VI_NON_INTERLACE) {
|
||||
VIDEO_WaitVSync();
|
||||
}
|
||||
}
|
||||
|
||||
gp_fifo = (u8 *) memalign(32, DEFAULT_FIFO_SIZE);
|
||||
if (gp_fifo == NULL)
|
||||
|
|
|
@ -45,7 +45,8 @@ void GRRLIB_Plot (const f32 x, const f32 y, const u32 color) {
|
|||
GX_Begin(GX_POINTS, GX_VTXFMT0, 1);
|
||||
GX_Position3f32(x, y, 0);
|
||||
GX_Color1u32(color);
|
||||
GX_End();}
|
||||
GX_End();
|
||||
}
|
||||
|
||||
/**
|
||||
* Draw a line.
|
||||
|
@ -64,7 +65,8 @@ void GRRLIB_Line (const f32 x1, const f32 y1,
|
|||
GX_Color1u32(color);
|
||||
GX_Position3f32(x2, y2, 0);
|
||||
GX_Color1u32(color);
|
||||
GX_End();}
|
||||
GX_End();
|
||||
}
|
||||
|
||||
/**
|
||||
* Draw a rectangle.
|
||||
|
|
Loading…
Reference in a new issue