mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-19 16:51:38 +00:00
Redundant line of code in VertexShaderManager::Dirty()
Also cleaned it up.
This commit is contained in:
parent
51a1d4cde7
commit
f21f097e7a
1 changed files with 16 additions and 6 deletions
|
@ -169,14 +169,24 @@ void VertexShaderManager::Shutdown()
|
||||||
|
|
||||||
void VertexShaderManager::Dirty()
|
void VertexShaderManager::Dirty()
|
||||||
{
|
{
|
||||||
nTransformMatricesChanged[0] = 0; nTransformMatricesChanged[1] = 256;
|
nTransformMatricesChanged[0] = 0;
|
||||||
nNormalMatricesChanged[0] = 0; nNormalMatricesChanged[1] = 96;
|
nTransformMatricesChanged[1] = 256;
|
||||||
nPostTransformMatricesChanged[0] = 0; nPostTransformMatricesChanged[1] = 256;
|
|
||||||
nLightsChanged[0] = 0; nLightsChanged[1] = 0x80;
|
nNormalMatricesChanged[0] = 0;
|
||||||
|
nNormalMatricesChanged[1] = 96;
|
||||||
|
|
||||||
|
nPostTransformMatricesChanged[0] = 0;
|
||||||
|
nPostTransformMatricesChanged[1] = 256;
|
||||||
|
|
||||||
|
nLightsChanged[0] = 0;
|
||||||
|
nLightsChanged[1] = 0x80;
|
||||||
|
|
||||||
bPosNormalMatrixChanged = true;
|
bPosNormalMatrixChanged = true;
|
||||||
bTexMatricesChanged[0] = bTexMatricesChanged[1] = true;
|
bTexMatricesChanged[0] = true;
|
||||||
|
bTexMatricesChanged[1] = true;
|
||||||
|
|
||||||
bProjectionChanged = true;
|
bProjectionChanged = true;
|
||||||
bPosNormalMatrixChanged = bTexMatricesChanged[0] = bTexMatricesChanged[1] = true;
|
|
||||||
nMaterialsChanged = 15;
|
nMaterialsChanged = 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue