2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #195 from lioncash/control

vertex_shader: Fix control reaches end of function warning
This commit is contained in:
Tony Wasserka 2014-11-16 22:50:00 +01:00
commit 8717c79fe4

View file

@ -141,7 +141,7 @@ union Instruction {
return BitFieldType::Value();
else if (GetRegisterType() == Temporary)
return BitFieldType::Value() - 0x10;
else if (GetRegisterType() == FloatUniform)
else // if (GetRegisterType() == FloatUniform)
return BitFieldType::Value() - 0x20;
}