mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
tabs begone
This commit is contained in:
parent
f5e73a099b
commit
f6642e9a9d
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ static void gfx_sp_vertex(size_t n_vertices, size_t dest_index, const Vtx *verti
|
||||||
// Inspired by:
|
// Inspired by:
|
||||||
// https://github.com/gonetz/GLideN64/commit/c8cbafff71a81bee5112aaafe6e21d6648ff8125#diff-69d8715ec7f9fd627ec4f5516edd003dL484
|
// https://github.com/gonetz/GLideN64/commit/c8cbafff71a81bee5112aaafe6e21d6648ff8125#diff-69d8715ec7f9fd627ec4f5516edd003dL484
|
||||||
const bool useFirstColor = (dest_index & 1) == 0;
|
const bool useFirstColor = (dest_index & 1) == 0;
|
||||||
const unsigned char* col = useFirstColor
|
const unsigned char* col = useFirstColor
|
||||||
? rsp.current_lights[rsp.current_num_lights - 1].col
|
? rsp.current_lights[rsp.current_num_lights - 1].col
|
||||||
: rsp.current_lights[rsp.current_num_lights - 1].colc;
|
: rsp.current_lights[rsp.current_num_lights - 1].colc;
|
||||||
int r = col[0];
|
int r = col[0];
|
||||||
|
|
Loading…
Reference in a new issue