[Glide64] Code cleanup of ucode06.h
This commit is contained in:
parent
6bf2738632
commit
5a4ea8ad1f
|
@ -244,7 +244,6 @@ void DrawHiresDepthImage (const DRAWIMAGE & d)
|
||||||
grDepthMask(FXTRUE);
|
grDepthMask(FXTRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DrawDepthImage(const DRAWIMAGE & d)
|
void DrawDepthImage(const DRAWIMAGE & d)
|
||||||
{
|
{
|
||||||
if (!fullscreen || !fb_depth_render_enabled)
|
if (!fullscreen || !fb_depth_render_enabled)
|
||||||
|
@ -411,7 +410,6 @@ void DrawImage (DRAWIMAGE & d)
|
||||||
int min_256_v = ul_v >> y_shift;
|
int min_256_v = ul_v >> y_shift;
|
||||||
//int max_256_v = (lr_v-1) >> y_shift;
|
//int max_256_v = (lr_v-1) >> y_shift;
|
||||||
|
|
||||||
|
|
||||||
// SetTextureImage ()
|
// SetTextureImage ()
|
||||||
rdp.timg.format = d.imageFmt; // RGBA
|
rdp.timg.format = d.imageFmt; // RGBA
|
||||||
rdp.timg.size = d.imageSiz; // 16-bit
|
rdp.timg.size = d.imageSiz; // 16-bit
|
||||||
|
@ -701,12 +699,10 @@ void DrawHiresImage(DRAWIMAGE & d, int screensize = FALSE)
|
||||||
else
|
else
|
||||||
rdp.tri_n += 2;
|
rdp.tri_n += 2;
|
||||||
rdp.tbuff_tex = tbuff_tex;
|
rdp.tbuff_tex = tbuff_tex;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//****************************************************************
|
//****************************************************************
|
||||||
|
|
||||||
|
|
||||||
struct MAT2D {
|
struct MAT2D {
|
||||||
float A, B, C, D;
|
float A, B, C, D;
|
||||||
float X, Y;
|
float X, Y;
|
||||||
|
@ -1706,7 +1702,6 @@ void uc6_sprite2d ()
|
||||||
{
|
{
|
||||||
grFogMode(GR_FOG_WITH_TABLE_ON_FOGCOORD_EXT);
|
grFogMode(GR_FOG_WITH_TABLE_ON_FOGCOORD_EXT);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
a = rdp.pc[rdp.pc_i] & BMASK;
|
a = rdp.pc[rdp.pc_i] & BMASK;
|
||||||
cmd0 = ((uint32_t*)gfx.RDRAM)[a >> 2]; //check next command
|
cmd0 = ((uint32_t*)gfx.RDRAM)[a >> 2]; //check next command
|
||||||
|
|
Loading…
Reference in New Issue