vk: front_diff_color typo fix (#2016)

* vk: typo fix

* continue in for loop
This commit is contained in:
raven02 2016-08-02 23:54:49 +08:00 committed by GitHub
parent c618e02695
commit 208f4c3e27
2 changed files with 2 additions and 2 deletions

View file

@ -270,7 +270,7 @@ void VKFragmentDecompilerThread::insertMainStart(std::stringstream & OS)
if (PI.name == "fogc") if (PI.name == "fogc")
{ {
vk::insert_fog_declaration(OS, m_prog.fog_equation); vk::insert_fog_declaration(OS, m_prog.fog_equation);
return; continue;
} }
} }
} }

View file

@ -264,7 +264,7 @@ void VKVertexDecompilerThread::insertMainEnd(std::stringstream & OS)
{ {
if (m_parr.HasParam(PF_PARAM_NONE, "vec4", i.src_reg)) if (m_parr.HasParam(PF_PARAM_NONE, "vec4", i.src_reg))
{ {
if (i.name == "front_spec_color") if (i.name == "front_diff_color")
insert_front_diffuse = false; insert_front_diffuse = false;
if (i.name == "front_spec_color") if (i.name == "front_spec_color")