Revert "ShaderGen: Toggle value of uninitialized color."

This commit is contained in:
Scott Mansell
2015-12-27 02:28:29 +13:00
parent be8410dcad
commit bed102ae89
3 changed files with 6 additions and 9 deletions

View File

@ -34,9 +34,6 @@ SWVertexLoader::~SWVertexLoader()
void SWVertexLoader::SetFormat(u8 attributeIndex, u8 primitiveType)
{
// Super Mario Sunshine requires those to be zero for those debug boxes.
memset(&m_Vertex.color, 0, sizeof(m_Vertex.color));
m_attributeIndex = attributeIndex;
VertexLoaderUID uid(g_main_cp_state.vtx_desc, g_main_cp_state.vtx_attr[m_attributeIndex]);