mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-09-10 16:53:15 +02:00
[Wii/Gamecube] removed unused GX rendering code
This commit is contained in:
parent
eb252920b2
commit
709fcebd73
@ -384,24 +384,6 @@ static void vi_callback(u32 cnt)
|
|||||||
video_sync = 0;
|
video_sync = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Vertex Rendering */
|
|
||||||
static inline void draw_vert(u8 pos, f32 s, f32 t)
|
|
||||||
{
|
|
||||||
GX_Position1x8(pos);
|
|
||||||
GX_TexCoord2f32(s, t);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* textured quad rendering */
|
|
||||||
static inline void draw_square(void)
|
|
||||||
{
|
|
||||||
GX_Begin(GX_QUADS, GX_VTXFMT0, 4);
|
|
||||||
draw_vert(3, 0.0, 0.0);
|
|
||||||
draw_vert(2, 1.0, 0.0);
|
|
||||||
draw_vert(1, 1.0, 1.0);
|
|
||||||
draw_vert(0, 0.0, 1.0);
|
|
||||||
GX_End();
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Initialize GX */
|
/* Initialize GX */
|
||||||
static void gxStart(void)
|
static void gxStart(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user