mirror of https://github.com/sm64pc/sm64pc.git
Fix erroneous compilation macro.
This commit is contained in:
parent
a356a8d59c
commit
2d8624ef14
|
@ -1067,7 +1067,7 @@ static void gfx_sp_tri1(uint8_t vtx1_idx, uint8_t vtx2_idx, uint8_t vtx3_idx) {
|
|||
// The whole triangle lies outside the visible area
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
if ((rsp.geometry_mode & G_CULL_BOTH) != 0) {
|
||||
float dx1 = v1->x / (v1->w) - v2->x / (v2->w);
|
||||
float dy1 = v1->y / (v1->w) - v2->y / (v2->w);
|
||||
|
@ -1093,6 +1093,7 @@ static void gfx_sp_tri1(uint8_t vtx1_idx, uint8_t vtx2_idx, uint8_t vtx3_idx) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
bool depth_test = (rsp.geometry_mode & G_ZBUFFER) == G_ZBUFFER;
|
||||
if (depth_test != rendering_state.depth_test) {
|
||||
|
|
Loading…
Reference in New Issue