pica: shader_dirty if texture2 coord changed
This commit is contained in:
parent
0f664ef89d
commit
039b293092
5 changed files with 12 additions and 7 deletions
|
@ -276,7 +276,8 @@ static void ProcessTriangleInternal(const Vertex& v0, const Vertex& v1, const Ve
|
|||
|
||||
DEBUG_ASSERT(0 != texture.config.address);
|
||||
|
||||
int coordinate_i = (i == 2 && regs.texturing.texture2_use_coord1) ? 1 : i;
|
||||
int coordinate_i =
|
||||
(i == 2 && regs.texturing.main_config.texture2_use_coord1) ? 1 : i;
|
||||
float24 u = uv[coordinate_i].u();
|
||||
float24 v = uv[coordinate_i].v();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue