mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00:00
SW/Tev: Replace Tev::SetRegColor with Tev::SetKonstColors
This commit is contained in:
parent
3b9a048291
commit
ae0fcd9a9f
5 changed files with 13 additions and 16 deletions
|
@ -740,7 +740,13 @@ void Tev::Draw()
|
|||
EfbInterface::BlendTev(Position[0], Position[1], output);
|
||||
}
|
||||
|
||||
void Tev::SetRegColor(int reg, int comp, s16 color)
|
||||
void Tev::SetKonstColors()
|
||||
{
|
||||
KonstantColors[reg][comp] = color;
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
KonstantColors[i].r = PixelShaderManager::constants.kcolors[i][0];
|
||||
KonstantColors[i].g = PixelShaderManager::constants.kcolors[i][1];
|
||||
KonstantColors[i].b = PixelShaderManager::constants.kcolors[i][2];
|
||||
KonstantColors[i].a = PixelShaderManager::constants.kcolors[i][3];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue