|
|
|
@ -289,6 +289,7 @@ static INLINE void draw_quadstrip_water(const ps1bsp_vertex_t *vertices, const p |
|
|
|
// Draw a flat-shaded textured quad |
|
|
|
POLY_FT4 *poly = (POLY_FT4*)mem_prim(sizeof(POLY_FT4)); |
|
|
|
setPolyFT4(poly); |
|
|
|
setSemiTrans(poly, 1); |
|
|
|
gte_stsxy3_ft3(poly); |
|
|
|
|
|
|
|
// Transform the fourth vertex to complete the quad |
|
|
|
@ -298,7 +299,7 @@ static INLINE void draw_quadstrip_water(const ps1bsp_vertex_t *vertices, const p |
|
|
|
|
|
|
|
// Texture UVs |
|
|
|
setUV4(poly, v0->u, v0->v, v1->u, v1->v, v2->u, v2->v, v3->u, v3->v); |
|
|
|
poly->clut = quake_clut; |
|
|
|
poly->clut = water_clut; |
|
|
|
poly->tpage = tpage; |
|
|
|
|
|
|
|
// Unlit |
|
|
|
|