mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 20:15:46 +00:00
pica: shader_dirty if texture2 coord changed
This commit is contained in:
parent
39d77e5d9d
commit
cb51c1024f
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