VertexShaderManager: Remove unused parameter

This commit is contained in:
Lioncash 2015-08-16 21:07:10 -04:00
parent 1b2074e53f
commit 0e41b973c7
3 changed files with 4 additions and 4 deletions

View File

@ -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;
} }

View File

@ -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);

View File

@ -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;
} }