mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-09 22:18:58 +01:00
VertexShaderManager: Remove unused parameter
This commit is contained in:
parent
1b2074e53f
commit
0e41b973c7
@ -683,7 +683,7 @@ void VertexShaderManager::SetProjectionChanged()
|
||||
bProjectionChanged = true;
|
||||
}
|
||||
|
||||
void VertexShaderManager::SetMaterialColorChanged(int index, u32 color)
|
||||
void VertexShaderManager::SetMaterialColorChanged(int index)
|
||||
{
|
||||
nMaterialsChanged[index] = true;
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ public:
|
||||
static void SetTexMatrixChangedB(u32 value);
|
||||
static void SetViewportChanged();
|
||||
static void SetProjectionChanged();
|
||||
static void SetMaterialColorChanged(int index, u32 color);
|
||||
static void SetMaterialColorChanged(int index);
|
||||
|
||||
static void TranslateView(float x, float y, float z = 0.0f);
|
||||
static void RotateView(float x, float y);
|
||||
|
@ -62,7 +62,7 @@ static void XFRegWritten(int transferSize, u32 baseAddress, DataReader src)
|
||||
if (xfmem.ambColor[chan] != newValue)
|
||||
{
|
||||
VertexManager::Flush();
|
||||
VertexShaderManager::SetMaterialColorChanged(chan, newValue);
|
||||
VertexShaderManager::SetMaterialColorChanged(chan);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -74,7 +74,7 @@ static void XFRegWritten(int transferSize, u32 baseAddress, DataReader src)
|
||||
if (xfmem.matColor[chan] != newValue)
|
||||
{
|
||||
VertexManager::Flush();
|
||||
VertexShaderManager::SetMaterialColorChanged(chan + 2, newValue);
|
||||
VertexShaderManager::SetMaterialColorChanged(chan + 2);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user