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